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 git@github.com:tipishev/deploy.git- copy
EXAMPLE_fabric.yamltofabric.yaml - change deploy settings in
fabric.yaml
- initial fresh server setup
fab -H root@example.com root-init
fab -H user@example.com init- subsequent deploys
fab -H user@example.com deployTODO rename commands to make explanation redundant
logshow Django application logbackup-httpssave https settings on the local hostrenew-httpsrenew https certificaterestore-httpssetup-secrets