scripts/reset_db.sh
author Madhusudan.C.S <madhusudancs@gmail.com>
Thu, 20 Jan 2011 01:36:37 +0530
changeset 479 fdaf0d8ceb53
parent 441 10f16121a46b
permissions -rwxr-xr-x
Add additional div tags and use % based values for all properties instead of pixel based. The core ideas of using multiple containers among other things as commented in the CSS file are taken from http://www.maxdesign.com.au/articles/css-layouts/three-liquid/# giving them the due credits they deserve. Thank you very much guys. I was struggling to get a fully liquid three-column layout. I made some changes as per my ideas.

#! /bin/bash

sudo -u postgres dropdb pytask
sudo -u postgres createdb -O pytask pytask
rm -r pytask/profile/migrations/
rm -r pytask/taskapp/migrations/
./bin/django schemamigration profile --initial
./bin/django schemamigration taskapp --initial
./bin/django syncdb
./bin/django migrate profile
./bin/django migrate taskapp
./bin/django loaddata sites_fixture.json 
./bin/django loaddata profile_fixture.json