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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8d0843c5f319d740a2a6bdbffce30433900cf1a66b6e31ac08d40cb83ec4dca |
|
MD5 | fee861d0eb343c458fea9afb81a08677 |
|
BLAKE2b-256 | 1fc4e0d95dd5ef9abba80b8954880b9c20e3e9ddc8f786c7b33e2dbe81bc89ce |
Close
Hashes for deploy_django_nginx-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ef382859715b6287e905396b5360b3f3c30e0603bf5c5819bf8dfe2aee03925 |
|
MD5 | 0d0be507f26ef223801fdf43854041db |
|
BLAKE2b-256 | 0211cd5205d6d1e5cfbad86134d17f79d7a29e198a8700b04733bb525d1e0f08 |