Error While Deploying Flask App On Apache
I have a file manage.py, import os from app import create_app app = create_app(os.getenv('FLASK_CONFIG') or 'default') if __name__ == '__main__': app.run() manage.py is worki
Solution 1:
You need to import the app name from your actual application, not manage
. Assuming it's apioflifeapp
, you would import the following in start.wsgi instead:
from apioflifeapp import app as application
Post a Comment for "Error While Deploying Flask App On Apache"