Skip to content
This repository has been archived by the owner on Feb 12, 2020. It is now read-only.

blimpio/boards-backend

Repository files navigation

Blimp Boards Backend

Build Status Dependency Status

Install

$ git clone git@github.com:GetBlimp/boards-backend.git
$ cd boards-backend/
$ pip install -r requirements.txt

Environment

Create an .env file in the root of the project based on .env.example.

First time setup

$ ./manage.py syncdb --noinput
$ ./manage.py migrate apps.users
$ ./manage.py migrate
$ ./manage.py loaddata blimp_boards/users/fixtures/users.json

Running web server

$ ./manage.py runserver_plus

Running tests

$ ./manage.py test --configuration=Testing

Running tests with tox

$ pip install tox
$ tox

Code coverage

$ pip install coverage
$ coverage run --source='.' manage.py test --configuration=Testing
$ coverage report --show-missing --omit='*migrations*'