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
This is due to not calling init_app in manage.py. I fixed this by changing manage.py to be:
# This file starts the WSGI web application.
# - Heroku starts gunicorn, which loads Procfile, which starts manage.py
# - Developers can run it from the command line: python runserver.py
from app.init_app import app, init_app, manager
init_app(app)
# Start a development web server, processing extra command line parameters. E.g.:
# - python manage.py init_db
# - python manage.py runserver
if __name__ == "__main__":
manager.run()
i see you have gunicorn in the requirements.txt but i can't seem to able to run the application using gunicorn ? any help ?
The text was updated successfully, but these errors were encountered: