Database of Soviet rugby results. Check out the project's documentation.
Create and activate a virtualenv:
virtualenv env
source env/bin/activateInstall dependencies:
pip install -r requirements/local.txtCreate the database:
createdb rugbystatInitialize the git repository
git init
git remote add origin [email protected]:krnr/rugbystat.git
Migrate the database and create a superuser:
python rugbystat/manage.py migrate
python rugbystat/manage.py createsuperuserRun the development server:
python rugbystat/manage.py runserverBy default the included fabfile will setup three environments:
- dev -- The bleeding edge of development
- qa -- For quality assurance testing
- prod -- For the live application
Create these servers on Heroku with:
fab initDeployment is handled via Travis. When builds pass Travis will automatically deploy that branch to Heroku. Enable this with:
travis encrypt $(heroku auth:token) --add deploy.api_key