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