Skip to content

Latest commit

 

History

History
50 lines (42 loc) · 1.31 KB

README.md

File metadata and controls

50 lines (42 loc) · 1.31 KB

Odyssy - IIIT Vadodara Website

Codacy Badge Gitter Build Status

Running Locally

Set up Database

  • 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

Clone project

$ git clone [email protected]:iiitv/Odyssy.git

Install requirements

$ cd Odyssy
$ sudo -H pip install -r requirements.txt

Migrate Database and Run

$ cd wsgi/odyssy
$ python manage.py migrate
$ python manage.py runserver

Note:

Don't delete/change the existing migration files.
Upload the migration files of your app in your PR.