Browse Source

FIX Přenastavení django_site na správnou adresu (na testwebu)

export_seznamu_prednasek
Jonas Havelka 3 years ago
parent
commit
b84fc5cd64
  1. 2
      Makefile

2
Makefile

@ -132,7 +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"
psql mam_test -c "UPDATE django_site SET name='MaMweb (test)', domain='mam-test.ks.matfyz.cz' WHERE id=1"
@echo Done.
# Sync test with production

Loading…
Cancel
Save