- Install PostgreSQL (
>=9.2
) - Log in to
postgres
user$ sudo su - postgres
- Open psql shell
$ psql
- Create database, user and grant permission
create database odyssy; create user odyssy with password 'odyssy'; grant all on database odyssy to odyssy;
- Exit to root console
$ git clone [email protected]:iiitv/Odyssy.git
$ cd Odyssy
$ sudo -H pip install -r requirements.txt
$ cd wsgi/odyssy
$ python manage.py migrate
$ python manage.py runserver
Don't delete/change the existing migration files.
Upload the migration files of your app in your PR.