Skip to content
Myr

Fix broken cross-references; use :doc: tags where necessary

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

authored by Justin W. Flory · committed by Justin W. Flory · parent 72dfb67 · Browse files · 3 files+17 added−17 removed
This commit

State

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

Diff stats

3 files+17 added−17 removed

  • other:+17 added−17 removed

3 files+17 added−17 removed

modified:docs/deploying/fastcgi.rst+4 added-4 removed
2 unmodified lines
3FastCGI4=======56FastCGI is a deployment option on servers like `nginx`_, `lighttpd`_, and7`cherokee`_; see :ref:`deploying-uwsgi` and :ref:`deploying-wsgi-standalone`8for other options. To use your WSGI application with any of them you will need9a FastCGI server first. The most popular one is `flup`_ which we will use for10this guide. Make sure to have it installed to follow along.7`cherokee`_; see :doc:`uwsgi` and :doc:`wsgi-standalone` for other options. To8use your WSGI application with any of them you will need a FastCGI server first.9The most popular one is `flup`_ which we will use for this guide. Make sure to10have it installed to follow along.1112.. admonition:: Watch Out1314 Please make sure in advance that any ``app.run()`` calls you might
226 unmodified lines
modified:docs/deploying/uwsgi.rst+12 added-12 removed
2 unmodified lines
3uWSGI4=====56uWSGI is a deployment option on servers like `nginx`_, `lighttpd`_, and7`cherokee`_; see :ref:`deploying-fastcgi` and :ref:`deploying-wsgi-standalone`8for other options. To use your WSGI application with uWSGI protocol you will9need a uWSGI server first. uWSGI is both a protocol and an application server;10the application server can serve uWSGI, FastCGI, and HTTP protocols.7`cherokee`_; see :doc:`fastcgi` and :doc:`wsgi-standalone` for other options.8To use your WSGI application with uWSGI protocol you will need a uWSGI server9first. uWSGI is both a protocol and an application server; the application10server can serve uWSGI, FastCGI, and HTTP protocols.1112The most popular uWSGI server is `uwsgi`_, which we will use for this13guide. Make sure to have it installed to follow along.13guide. Make sure to have it installed to follow along.1415.. admonition:: Watch Out1617 Please make sure in advance that any ``app.run()`` calls you might
13 unmodified lines
3132 $ uwsgi -s /tmp/yourapplication.sock --manage-script-name --mount /yourapplication=myapp:app3334The ``--manage-script-name`` will move the handling of ``SCRIPT_NAME`` to uwsgi,35since its smarter about that. It is used together with the ``--mount`` directive36which will make requests to ``/yourapplication`` be directed to ``myapp:app``.37If your application is accessible at root level, you can use a single ``/``38instead of ``/yourapplication``. ``myapp`` refers to the name of the file of39your flask application (without extension) or the module which provides ``app``.40``app`` is the callable inside of your application (usually the line reads41``app = Flask(__name__)``.35since it is smarter about that. It is used together with the ``--mount``36directive which will make requests to ``/yourapplication`` be directed to37``myapp:app``. If your application is accessible at root level, you can use a38single ``/`` instead of ``/yourapplication``. ``myapp`` refers to the name of39the file of your flask application (without extension) or the module which40provides ``app``. ``app`` is the callable inside of your application (usually41the line reads ``app = Flask(__name__)``.4243If you want to deploy your flask application inside of a virtual environment,44you need to also add ``--virtualenv /path/to/virtual/environment``. You might45also need to add ``--plugin python`` or ``--plugin python3`` depending on which
27 unmodified lines
modified:docs/deploying/wsgi-standalone.rst+1 added-1 removed
35 unmodified lines
36Running `uWSGI HTTP Router`_::3738 uwsgi --http 127.0.0.1:5000 --module myproject:app3940For a more optimized setup, see :ref:`configuring uWSGI and NGINX <deploying-uwsgi>`.40For a more optimized setup, see :doc:`configuring uWSGI and NGINX <uwsgi>`.4142.. _uWSGI: http://uwsgi-docs.readthedocs.io/en/latest/43.. _uWSGI HTTP Router: http://uwsgi-docs.readthedocs.io/en/latest/HTTP.html#the-uwsgi-http-https-router44
105 unmodified lines