Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
spec
vendor
.gitignore
.rspec
.travis.yml
Gemfile
Gemfile.lock
Guardfile
Procfile
README.md
Rakefile
config.ru

README.md

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
Something went wrong with that request. Please try again.