Přenastavení django_site na správnou adresu (na testwebu)
This commit is contained in:
parent
217d6e9398
commit
bfc98e32f9
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -132,6 +132,7 @@ sync_test_db_aggressive:
|
|||
bash -c "psql mam_test <<< 'DROP OWNED BY \"mam-web\";'"
|
||||
pg_restore -c --if-exists -d mam_test dump-prod.sql
|
||||
rm dump-prod.sql
|
||||
bash -c "psql mam_test <<< UPDATE django_site SET name=\'MaMweb (test)\', domain=\'mam-test.ks.matfyz.cz\' WHERE id=1"
|
||||
@echo Done.
|
||||
|
||||
# Sync test with production
|
||||
|
|
Loading…
Reference in a new issue