Skip to main content

Deploy Django with uWSGI and Frontend with Nginx

Project description

Deploy Django with uWSGI and Frontend with Nginx

  • Nginx + uWSGI + Django

Installation

python3 -m pip install deploy_django_nginx

Options

  -f, --front-end TEXT  the dist directory of frontend  [required]
  -b, --back-end TEXT   the directory of backend  [required]
  -n, --name TEXT       the name of django project  [required]
  -d, --directory TEXT  the directory to deploy  [default: ./deploy]
  -p, --port INTEGER    the port number  [default: 1080]
  -y, --force           force overwrite directory
  -?, -h, --help        Show this message and exit.

Examples

deploy_django_nginx \
  -b /path/to/api  \                  # backend root directory
  -f /path/to/app/dist/ \             # frontend dist directory
  -n proj \                           # django project name
  -p 1080 \                           # network port
  -d /data2/work/novodb/beet \        # destination directory

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

deploy_django_nginx-1.0.1.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

deploy_django_nginx-1.0.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file deploy_django_nginx-1.0.1.tar.gz.

File metadata

  • Download URL: deploy_django_nginx-1.0.1.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.8

File hashes

Hashes for deploy_django_nginx-1.0.1.tar.gz
Algorithm Hash digest
SHA256 63b15cdc06ae43611c19afbfd2d1f26abc92b1fdc0f2d88344d2e3cab9a2dd1e
MD5 ab2bbfca394cbbe7f21a947c7f97cfa8
BLAKE2b-256 18b7ce10fe906d66d0223d2bd4834cff5e95a2af3c8f3860929245d8881d29db

See more details on using hashes here.

File details

Details for the file deploy_django_nginx-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for deploy_django_nginx-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b97e9f61af80c3a48715ef175907ea4792c3451629928577558bdceff29675a5
MD5 0276afe962e49198cf37c7bd00c6e185
BLAKE2b-256 6515d92949d6ce030af5fc3a4637bfe48c59f86ddd54738ae67fa0f58936c3ff

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