Fabric2-based utils for
- Python 3.6
- Django
- nginx
- gunicorn
- letsencrypt.org HTTPS
site deploy to a Ubuntu 16.04 VPS.
- Python3+
- Fabric 2.3.1+
- run
cd django-project-repository
git submodule add [email protected]:tipishev/deploy.git- copy
EXAMPLE_fabric.yamltofabric.yaml - change deploy settings in
fabric.yaml
- initial fresh server setup
fab -H [email protected] root-init
fab -H [email protected] init- subsequent deploys
fab -H [email protected] deployTODO rename commands to make explanation redundant
logshow Django application logbackup-httpssave https settings on the local hostrenew-httpsrenew https certificaterestore-httpssetup-secrets