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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for deploy_django_nginx-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 285d7352cd13c5dae4adb8a48c0514a923294792096cf3217b3a641758ec3525 |
|
MD5 | 839e78d9e28991358241d5338a580c38 |
|
BLAKE2b-256 | c52e3cb5010a37a9b6d6ebce6bea55a4048fa8d00045c66b35e07d4314e5ef2e |
Close
Hashes for deploy_django_nginx-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e4287e8b5c3813abb8e75264526f86d20680f0af9152c9c8e6cae1a741fb041 |
|
MD5 | dde6ee3b5ba68d6a96de31f13043a744 |
|
BLAKE2b-256 | 5835cd902e4a18731ec58a51cda5a4308d758ad809725c231df89824e9cdcf16 |