Skip to main content

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

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.2.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: deploy_django_nginx-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 285d7352cd13c5dae4adb8a48c0514a923294792096cf3217b3a641758ec3525
MD5 839e78d9e28991358241d5338a580c38
BLAKE2b-256 c52e3cb5010a37a9b6d6ebce6bea55a4048fa8d00045c66b35e07d4314e5ef2e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for deploy_django_nginx-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2e4287e8b5c3813abb8e75264526f86d20680f0af9152c9c8e6cae1a741fb041
MD5 dde6ee3b5ba68d6a96de31f13043a744
BLAKE2b-256 5835cd902e4a18731ec58a51cda5a4308d758ad809725c231df89824e9cdcf16

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 files

1.0.1

2 files

1.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page