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

Metadata

Release files for deploy-django-nginx 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deploy-django-nginx 1.0.2
File Size Uploaded
deploy_django_nginx-1.0.2.tar.gz 5.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for deploy-django-nginx 1.0.2
File Interpreter ABI Platform
deploy_django_nginx-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 12.6 kB

Release files / deploy_django_nginx-1.0.2.tar.gz

Download URL deploy_django_nginx-1.0.2.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
285d7352cd13c5dae4adb8a48c0514a923294792096cf3217b3a641758ec3525
BLAKE2b-256 checksum
How to use checksums
c52e3cb5010a37a9b6d6ebce6bea55a4048fa8d00045c66b35e07d4314e5ef2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.8

Release files / deploy_django_nginx-1.0.2-py3-none-any.whl

Download URL deploy_django_nginx-1.0.2-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e4287e8b5c3813abb8e75264526f86d20680f0af9152c9c8e6cae1a741fb041
BLAKE2b-256 checksum
How to use checksums
5835cd902e4a18731ec58a51cda5a4308d758ad809725c231df89824e9cdcf16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.8

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page