#!/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