You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi when I started up the emailer for the first time I got this:
(mitromailer)mitro-mailer-$ python emailer.py
INFO:root:Starting up email queue
CRITICAL:root:(OperationalError) could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
After messing around with it for a bit, I realized that I had to start up postgresql and then create a database and a user and then the appropriate tables.
I've never used postgresql or sqlalchemy before, so I've just been going off of what I could google. I gather there's a simple way to create the db, user, tables, etc. just from the file email_queue_model.py. If so, could you please advise what that is?
Also, I would like to suggest including instructions for this part in the setup guide.
The text was updated successfully, but these errors were encountered:
Hi when I started up the emailer for the first time I got this:
After messing around with it for a bit, I realized that I had to start up postgresql and then create a database and a user and then the appropriate tables.
I've never used postgresql or sqlalchemy before, so I've just been going off of what I could google. I gather there's a simple way to create the db, user, tables, etc. just from the file
email_queue_model.py
. If so, could you please advise what that is?Also, I would like to suggest including instructions for this part in the setup guide.
The text was updated successfully, but these errors were encountered: