Makefile | fix sync_prod_flatpages
Chybela aktivace venvu.
This commit is contained in:
parent
50910817cb
commit
2bcbf34d8e
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -102,7 +102,7 @@ deploy_prod: venv_check
|
|||
sync_prod_flatpages: venv_check
|
||||
@echo Downloading current version of flatpages from mamweb-prod.
|
||||
ssh mam-web@gimli.ms.mff.cuni.cz \
|
||||
"cd /akce/mam/www/mamweb-prod; ./manage.py dumpdata flatpages --indent=2 > flat.json"
|
||||
"cd /akce/mam/www/mamweb-prod; . env/bin/activate; ./manage.py dumpdata flatpages --indent=2 > flat.json"
|
||||
rsync -ave ssh mam-web@gimli.ms.mff.cuni.cz:/akce/mam/www/mamweb-prod/flat.json ./flat.json
|
||||
@echo "Applying downloaded flatpages."
|
||||
./manage.py loaddata flat.json
|
||||
|
|
Loading…
Reference in a new issue