Mention virtual environments in uwsgi/nginx deployment docs
This commit is contained in:
parent
8b9cb6caa7
commit
b644e2747f
1 changed files with 5 additions and 0 deletions
|
|
@ -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 (without extension). ``app`` is the callable inside of your
|
||||||
application (usually the line reads ``app = Flask(__name__)``.
|
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
|
Configuring nginx
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue