I\'m trying to bootstrap a Flask app on a Gunicorn server. By putting the two tools\' docs together, plus searching around on SO, this is what I have so far... but it\'s not qui
The gunicorn utility may be running out of the system path rather than your virtualenv.
Make sure to pip install gunicorn
into the virtualenv.
Here's the pip freeze of a virtualenv I setup to run your app:
(so_2)20:38:25 ~/code/tmp/flask_so$ pip freeze
Flask==0.10.1
Flask-SQLAlchemy==1.0
Jinja2==2.7.1
MarkupSafe==0.18
SQLAlchemy==0.8.2
Werkzeug==0.9.4
gunicorn==18.0
itsdangerous==0.23
wsgiref==0.1.2
In reality, I only ran these pip install
s:
$ pip install flask
$ pip install gunicorn
$ pip install Flask-SQLAlchemy