Skip to main content

Django server controllers, e.g. UwsgiController.

Project description

django-server-controller

Django server controllers, e.g. UwsgiController.

Install

pip install django-server-controller

Examples

pro/settings.py

INSTALLED_APPS = [
    ...
    'django_server_controller',
    ...
]

wsgi.ini file paths

  1. settings.UWSGI_INI_FILE pointed file.
  2. ./etc/wsgi.ini
  3. ./lib/python3.6/site-packages/the_project_package/wsgi.ini

Chrooted to PROJECT_BASE before find wsgi.ini

Suggest project folders

./bin/
./etc/
./lib/
./lib64/
./web/
./web/static/
./web/upload/
./logs/
  • bin/lib/lib64 folders are created by virutalenv.
  • etc/web/logs folders are ours.

Releases

v0.2.0 2020/09/02

  • Use as django's command.

v0.1.3 2020/07/25

  • Fix time import problem.

v0.1.2 2020/07/25

  • Fix reload parameter problem.

v0.1.1 2020/07/25

  • Fix psutil import problem.

v0.1.0 2020/07/25

  • First release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-server-controller-0.2.0.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file django-server-controller-0.2.0.tar.gz.

File metadata

  • Download URL: django-server-controller-0.2.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for django-server-controller-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6353e9a0b08aed2d6d340ed5a91a84a7c76a1ef925c550ae7306959d0ad57455
MD5 3698fc2e31b67c0b507e8d70fb4bc01e
BLAKE2b-256 443b5678de6e733d41bfe663d68afe5061a5d0ffa75c849ef9cfbb6bcc8b2416

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page