Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.16 KB

README.md

File metadata and controls

33 lines (25 loc) · 1.16 KB

KOZHIKODEN:BACKEND (In Python + Django)

This is the backend part of kozhikoden app

###Prerequisites

  • Python 2.7 or above (Also works in Pyhton 3.X )
  • virtualenv

###Getting started
Create a Virtual Environment.Give the exact name(venv) for the virtual enviroment.

$ virtualenv venv
$ source venv/bin/activate

####Inside the virtual Environment run the following commands in order:

This will install the dependencies into the virtual environment.

$ pip install -U -r requirements.txt

This will build the models(database)

$ ./manage.py makemigrations

This will implement the models into sqlite

$ ./manage.py migrate

This will load the dummy datas into the db

$ ./manage.py loaddata dump/db.json

This creates a local server to run the application

$ ./manage.py runserver

Made with ♥ by Kozhikodens