Also: Makefile
This commit is contained in:
parent
4dba5919de
commit
b7232d9010
1 changed files with 4 additions and 4 deletions
8
Makefile
8
Makefile
|
@ -63,8 +63,8 @@ schema_all.pdf:
|
||||||
|
|
||||||
# Deploy to current *mamweb-test* directory
|
# Deploy to current *mamweb-test* directory
|
||||||
deploy_test:
|
deploy_test:
|
||||||
@echo "Installing version from origin/test ..."
|
@echo "Installing version from origin/pseudo_test ..."
|
||||||
git pull origin test
|
git pull origin pseudo_test
|
||||||
git clean -f
|
git clean -f
|
||||||
make install
|
make install
|
||||||
./manage.py migrate
|
./manage.py migrate
|
||||||
|
@ -79,8 +79,8 @@ deploy_test:
|
||||||
deploy_prod:
|
deploy_prod:
|
||||||
@echo "Backing up production DB ..."
|
@echo "Backing up production DB ..."
|
||||||
( cd -P .. && ./backup_prod_db.sh )
|
( cd -P .. && ./backup_prod_db.sh )
|
||||||
@echo "Installing version from origin/master ..."
|
@echo "Installing version from origin/pseudo_master ..."
|
||||||
git pull origin master
|
git pull origin pseudo_master
|
||||||
git clean -f
|
git clean -f
|
||||||
make install
|
make install
|
||||||
./manage.py migrate
|
./manage.py migrate
|
||||||
|
|
Loading…
Reference in a new issue