|
|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
.PHONY: all help build virtualenv requirements-local loaddata run migrate shell collectstatic clean worker qa update-develop |
|
|
|
|
.PHONY: all help build virtualenv requirements-local loaddata run migrate shell collectstatic clean worker qa update-develop upgrade-develop |
|
|
|
|
|
|
|
|
|
# target: all - Default target. Does nothing.
|
|
|
|
|
all: |
|
|
|
|
@ -74,7 +74,12 @@ worker: |
|
|
|
|
qa: |
|
|
|
|
pytest
|
|
|
|
|
|
|
|
|
|
# target: update-develop - Run push change in repo develop branch and deploy for develop server
|
|
|
|
|
# target: update-develop - Run push change in repo develop branch and deploy for develop server with restart only web container
|
|
|
|
|
update-develop: |
|
|
|
|
git push origin develop
|
|
|
|
|
fab update
|
|
|
|
|
|
|
|
|
|
# target: upgrade-develop - Run push change in repo develop branch and deploy for develop server with rebuild container
|
|
|
|
|
upgrade-develop: |
|
|
|
|
git push origin develop
|
|
|
|
|
fab upgrade
|
|
|
|
|
|