Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (28 sloc) 1.2 KB

Campmaster

Build Status Code Climate

Project setup

Get the code.

git clone git@github.com:drapergeek/campmaster.git

Set up the project's dependencies.

cd project
rake dev:setup

This will automatically add a heroku remote for staging and production.

Running tests:

rake

Use Foreman to run the app locally.

foreman start

It uses your .env file and Procfile to run processes just like Heroku's Cedar stack.

Anytime any development data is needed, add it to the dev:prime tasks. At any point you can reset your local development data with:

rake dev:prime

Deploy

After code is commited to the master branch, it is automatically deployed to heroku if all the tests pass. You can also manually deploy:

git push staging

Run migrations (if necessary).

heroku run rake db:migrate --app campmaster-staging
heroku restart --app campmaster-staging