deploy: Add Makefile with deploy shortcuts

This commit is contained in:
James Graham
2020-02-28 15:39:13 +00:00
parent a7f34bbb54
commit 097a6b0152

16
Makefile Normal file
View File

@@ -0,0 +1,16 @@
.PHONY: docs
docs:
cd docs; make clean; make html; cd ..
yes 'yes' | env/bin/python manage.py collectstatic
.PHONY: lint
lint:
prospector
.PHONY: staging
staging:
ansible-playbook -v -i staging.yml playbook.yml -u jag1e17 -K
.PHONY: production
production:
ansible-playbook -v -i production.yml playbook.yml -u jag1e17 -K