tabularasa, but dishes are re-installed

This commit is contained in:
Pierre-antoine Comby 2020-05-25 12:22:09 +02:00
parent 72a752fd56
commit 985f7c7bcd
1 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,6 @@
#!/usr/bin/sh
sudo -u postgres sh -c "dropdb note_db && psql -c 'CREATE DATABASE note_db OWNER note;'";
echo 'reset db';
source "env/bin/activate"
./manage.py migrate
./manage.py loaddata initial