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.txtThis will build the models(database)
$ ./manage.py makemigrationsThis will implement the models into sqlite
$ ./manage.py migrateThis will load the dummy datas into the db
$ ./manage.py loaddata dump/db.jsonThis creates a local server to run the application
$ ./manage.py runserver
Made with ♥ by Kozhikodens