Guest User

Untitled

a guest
Jul 21st, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. set FLASK_APP=application.py
  2. set FLASK_DEBUG=1
  3. set DATABASE_URL=postgres://someurl
  4. flask run
  5.  
  6. * Environment: production
  7. WARNING: Do not use the development server in a production environment.
  8. Use a production WSGI server instead.
  9. * Debug mode: off
  10. Usage: flask run [OPTIONS]
  11.  
  12. 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