liip/request.data

Name: request.data

Owner: Liip

Description: null

Created: 2014-02-26 13:53:54.0

Updated: 2014-04-03 21:45:16.0

Pushed: 2014-04-03 21:45:16.0

Homepage: null

Size: 1212

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

request.data

Development Setup

In order to run the commands below you need to have vagrant installed.

git clone https://github.com/liip/request.data.git request.data
cd request.data/
vagrant up

As soon as all the dependencies are installed you can ssh into the virtualmachine and run the application

vagrant ssh
foreman start
General development

When a change is made to the database data that should be loaded by default replace the fixtures.

python /vagrant/manage.py dumpdata > fixtures/initial_data.json

Opening the django shell

python /vagrant/manage.py shell
Deploy on heroku
heroku create some_cool_app_name --region eu --stack cedar
git push heroku master

# run the migrations
heroku run python manage.py syncdb --noinput

# load some sample data
heroku run python manage.py loaddata fixtures/initial_data.json

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.