/diilikone-api

Primary LanguagePythonMIT LicenseMIT

Diilikone API

Requirements

  • Python 3.4 -- asdasd
  • virtualenvwrapper
  • postgresql

Development environment setup

Create virtualenv

$ mkvirtualenv --python=$(which python3.4) diilikone-api

Install python dependecies

$ pip install -r requirements.txt

Create development and testing databases

$ createdb diilikone
$ createdb diilikone_test

Upgrade database tables

$ alembic upgrade head

Run tests

py.test

Start development server

python manage.py runserver

Additional resources