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.yaml
tofabric.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] deploy
TODO rename commands to make explanation redundant
log
show Django application logbackup-https
save https settings on the local hostrenew-https
renew https certificaterestore-https
setup-secrets