Skip to content

pkucmus/django-uwsgi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Django uWSGI

Simple Django management command useful for deploying an uWSGI instance of your Django app.

  1. Install

    $ pip install git+https://github.com/pkucmus/django-uwsgi.git
  2. 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,
    }
  3. Use

    $ python manage.py uwsgi

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages