Skip to content
Myr

Mention virtual environments in uwsgi/nginx deployment docs

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Jonas Gröger · committed by Jonas Gröger · parent 8b9cb6c · Browse files · 1 file+5 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+5 added−0 removed

  • other:+5 added−0 removed

1 file+5 added−0 removed

modified:docs/deploying/uwsgi.rst+5 added
42 unmodified lines
43``myapp:app``, where ``myapp`` refers to the name of the file of your flask44application (without extension). ``app`` is the callable inside of your45application (usually the line reads ``app = Flask(__name__)``.4647If you want to deploy your flask application inside of a virtual environment,48you need to also add ``--virtualenv /path/to/virtual/environment``. You might49also need to add ``--plugin python`` or ``--plugin python3`` depending on which50python version you use for your project.5152Configuring nginx53-----------------5455A basic flask nginx configuration looks like this::
21 unmodified lines