|
|
@ -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 |
|
|
|