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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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
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
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