cs50 / cs50.readthedocs.io

https://cs50.readthedocs.io
208 stars 522 forks source link

Fail to deploy CS50 Finance on Heroku #85

Closed rongxin-liu closed 3 years ago

rongxin-liu commented 4 years ago

It seems that following our current tutorial on Heroku deployment will fail because of missing 3 packages in requirement.txt. To resolve this, consider adding these three packages in requirements:

gunicorn werkzeug==0.16.1 psycopg2-binary

rongxin-liu commented 4 years ago

If those three packages are missing, these errors will be raised on Heroku:

dmalan commented 3 years ago

@rongxin-liu know why werkzeug needs to be fixated at 0.16.1? Isn't it a dependency of Flask's?

rongxin-liu commented 3 years ago

If I recall correctly, I was getting this "werkzeug.contrib" module not found error at the time of creating this issue. I was troubleshooting for a student back then.

But I just did a complete test and went through the deployment process, all good now!