Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set FLASK_APP=application.py
- set FLASK_DEBUG=1
- set DATABASE_URL=postgres://someurl
- flask run
- * Environment: production
- WARNING: Do not use the development server in a production environment.
- Use a production WSGI server instead.
- * Debug mode: off
- Usage: flask run [OPTIONS]
- Error: Could not locate a Flask application. You did not provide the "FLASK_APP" environment variable, and a "wsgi.py" or "app.py" module was not found in the current directory.
Add Comment
Please, Sign In to add comment