Mention virtual environments in uwsgi/nginx deployment docs

This commit is contained in:
Jonas Gröger 2015-08-22 01:05:45 +02:00
parent 8b9cb6caa7
commit b644e2747f

View file

@ -44,6 +44,11 @@ directive which will make requests to ``/yourapplication`` be directed to
application (without extension). ``app`` is the callable inside of your
application (usually the line reads ``app = Flask(__name__)``.
If you want to deploy your flask application inside of a virtual environment,
you need to also add ``--virtualenv /path/to/virtual/environment``. You might
also need to add ``--plugin python`` or ``--plugin python3`` depending on which
python version you use for your project.
Configuring nginx
-----------------