Skip to content

liginv/kozhikoden

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published