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_test:
|
||||
@echo "Installing version from origin/test ..."
|
||||
git pull origin test
|
||||
@echo "Installing version from origin/pseudo_test ..."
|
||||
git pull origin pseudo_test
|
||||
git clean -f
|
||||
make install
|
||||
./manage.py migrate
|
||||
|
@ -79,8 +79,8 @@ deploy_test:
|
|||
deploy_prod:
|
||||
@echo "Backing up production DB ..."
|
||||
( cd -P .. && ./backup_prod_db.sh )
|
||||
@echo "Installing version from origin/master ..."
|
||||
git pull origin master
|
||||
@echo "Installing version from origin/pseudo_master ..."
|
||||
git pull origin pseudo_master
|
||||
git clean -f
|
||||
make install
|
||||
./manage.py migrate
|
||||
|
|
Loading…
Reference in a new issue