|
|
|
@ -1,4 +1,4 @@ |
|
|
|
.PHONY: all help build virtualenv requirements-local loaddata run migrate shell collectstatic clean worker qa update-develop upgrade-develop |
|
|
|
.PHONY: all help build virtualenv requirements-local loaddata run migrate shell collectstatic clean worker qa flush update-develop upgrade-develop |
|
|
|
|
|
|
|
|
|
|
|
# target: all - Default target. Does nothing.
|
|
|
|
# target: all - Default target. Does nothing.
|
|
|
|
all: |
|
|
|
all: |
|
|
|
@ -78,6 +78,11 @@ flower: |
|
|
|
qa: |
|
|
|
qa: |
|
|
|
pytest
|
|
|
|
pytest
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# target: flush - clean database
|
|
|
|
|
|
|
|
flush: |
|
|
|
|
|
|
|
python3 manage.py flush
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# target: update-develop - Run push change in repo develop branch and deploy for develop server with restart only web container
|
|
|
|
# target: update-develop - Run push change in repo develop branch and deploy for develop server with restart only web container
|
|
|
|
update-develop: |
|
|
|
update-develop: |
|
|
|
git push origin develop
|
|
|
|
git push origin develop
|
|
|
|
|