Django uWSGI
Simple Django management command useful for deploying an uWSGI instance of your Django app.
-
Install
$ pip install git+https://github.com/pkucmus/django-uwsgi.git
-
Modify your
settings
INSTALLED_APPS = [ ... 'django_uwsgi', ] UWSGI = { 'module': '{your_project}.wsgi:application', 'socket': '0.0.0.0:8081', 'http': '0.0.0.0:8080', 'env': 'DJANGO_SETTINGS_MODULE=test_project.settings', 'max_requests': 4096, }
-
Use
$ python manage.py uwsgi