File: installation.rst

package info (click to toggle)
django-uwsgi 1.1.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 752 kB
  • sloc: python: 912; makefile: 158
file content (35 lines) | stat: -rwxr-xr-x 1,034 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Installation
============

django-uwsgi is easy installable via pip:

.. code-block:: sh

   pip install django-uwsgi-ng


or clone it from `EduGit <https://edugit.org/AlekSIS/libs/django-uwsgi-ng>`_:


.. code-block:: sh

   git clone https://edugit.org/AlekSIS/libs/django-uwsgi-ng.git
   cd django-uwsgi-ng
   pip install .

   # or for development
   pip install -e .


By default ``django-uwsgi-ng`` doesn’t installed with uWSGI as requirement.
And here are a few known reasons why:

* Django project installed into virtualenv and running in `Emperor <http://uwsgi-docs.readthedocs.org/en/latest/Emperor.html>`_ mode. In this case uWSGI is installed system-wide or into some other virtualenv.
* Some devs love to use system package managers like apt and prefer to install uwsgi other way.
* you need to build uWSGI with custom profile ex: ``UWSGI_PROFILE=gevent pip install uwsgi``

You can install django-uwsgi with uWSGI by appending [uwsgi] to the install command:

.. code-block:: sh

   pip install django-uwsgi-ng[uwsgi]