Skip to content
/ Odyssy Public

Django based dynamic next generation website for IIITV

Notifications You must be signed in to change notification settings

iiitv/Odyssy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.