Auto deploy django project on linux using nginx and uwsgi
Project description
Auto deploy Django project
Install:
pip install auto-uwsgi
Using
>>> from auto_uwsgi import Deployment
>>> deploy = Deployment(
'<username>',
'<path to project>',
'<path to virtual environment>',
'<domain name or ip>'
)
>>> deploy.start()
Example
>>> from auto_uwsgi import Deployment
>>> deploy = Deployment(
'nghiem',
'/home/nghiem/auto-uwsgi/tests/projecttest',
'/home/nghiem/auto-uwsgi/tests/venv',
'192.168.0.105'
)
>>> deploy.start()
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
auto-uwsgi-1.0.0.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for auto_uwsgi-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31d74ba8233a1d55d522845b2aca0c1bfc935c9b3f0aaf271224e8b8ed78a84e |
|
MD5 | 69807b731da4467ff3317fea36405d3b |
|
BLAKE2b-256 | 2c175b6f1c19b78439e38d96c71b13fa28a7ae2f76e0fd73e9b927c14b2031c4 |