-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (17 loc) · 685 Bytes
/
Makefile
File metadata and controls
25 lines (17 loc) · 685 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
build:
npm run build
html:
cd docs; make clean; make html; cd ..
doc_styles: html
cd docs; cp -a _static/* _build/html/_static/; cd ..
docs: doc_styles
python ./docs_dev_server.py
deploy_prod: build
cd ansible; ansible-playbook -i hosts_prod playbooks/main.yaml; cd ..
quick_deploy_prod: build
cd ansible; ansible-playbook -i hosts_prod playbooks/main.yaml -t flask.deploy; cd ..
deploy_dev: build
cd ansible; ansible-playbook -i hosts_dev playbooks/main.yaml; cd ..
quick_deploy_dev: build
cd ansible; ansible-playbook -i hosts_dev playbooks/main.yaml -t flask.deploy; cd ..
.PHONY: build docs doc_styles html deploy_dev quick_deploy_dev deploy_prod quick_deploy_prod