From b644e2747f82fe662f03a4973490acaaf6476d60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Gr=C3=B6ger?= Date: Sat, 22 Aug 2015 01:05:45 +0200 Subject: [PATCH] Mention virtual environments in uwsgi/nginx deployment docs --- docs/deploying/uwsgi.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/deploying/uwsgi.rst b/docs/deploying/uwsgi.rst index 8ab985b9..2d15440f 100644 --- a/docs/deploying/uwsgi.rst +++ b/docs/deploying/uwsgi.rst @@ -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 -----------------