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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63b15cdc06ae43611c19afbfd2d1f26abc92b1fdc0f2d88344d2e3cab9a2dd1e |
|
MD5 | ab2bbfca394cbbe7f21a947c7f97cfa8 |
|
BLAKE2b-256 | 18b7ce10fe906d66d0223d2bd4834cff5e95a2af3c8f3860929245d8881d29db |
Close
Hashes for deploy_django_nginx-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b97e9f61af80c3a48715ef175907ea4792c3451629928577558bdceff29675a5 |
|
MD5 | 0276afe962e49198cf37c7bd00c6e185 |
|
BLAKE2b-256 | 6515d92949d6ce030af5fc3a4637bfe48c59f86ddd54738ae67fa0f58936c3ff |