motherjones/mirrors_server

Name: mirrors_server

Owner: Mother Jones

Description: This going to be MotherJones new backend server. Currently not ready for human consumption.

Created: 2014-04-11 01:09:49.0

Updated: 2014-09-11 23:36:39.0

Pushed: 2014-09-11 23:36:39.0

Homepage: null

Size: 296

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Mirrors

It's some kind of content store.

Requirements

If you want to have an easier time of it just run pip install -r requirements/apps.txt. In the future we'll probably make some kind of automated environment setup.

Running

Settings file is currently one size fits all and set to mirrors in postgres. We should improve this

$ python ./manage.py syncdb
  [...]
$ python ./manage.py migrate
Tests

To run the tests just do this:

$ coverage run --source='.' --omit='*migrations*' manage.py test

Run this to get a plain text coverage report:

$ coverage report

Run this to get an HTML coverage report:

$ coverage html

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.