lseffer / stock_screener

Picking stocks through various screening methods. Focus on Northern Europe.
129 stars 31 forks source link

500 Internal Server Error #18

Open louisgv opened 4 years ago

louisgv commented 4 years ago

When trying to run the server, I'm getting this error when the front-end trying to query the /stocks endpoint. Wonder if this is just my machine or a real problem.

lseffer commented 4 years ago

I just tried a clean install on my machine and it works as documented 🙂. You will experience errors before postgres has booted up and the database is populated. What happens if you wait a minute before trying that endpoint? Look at the logs from the worker container docker-compose logs -f worker and you should see it waiting for postgres and populating the database from alembic revisions