Skip to content

keep-delivering/com

Repository files navigation

keep-delivering Keep Delivering

Join the chat at https://gitter.im/keep-delivering/com

Dependencies

brew install chromedriver postgresql phantomjs

Setup

bin/rake db:create db:migrate db:seed
RACK_ENV=test bin/rake db:create
bin/rake test

Ways to Run the App

bin/spring rails server # live reloads, port 3000
bin/foreman start # performant, port 5000

Ways to Test the App

bin/rspec # unit
bin/teaspoon # javascript
bin/cucumber # acceptance
BROWSER=true bin/cucumber # run acceptance in browser
bin/rubocop # syntax
bin/bundle-audit # gem security

Remote

Setup

open "https://toolbelt.heroku.com/" # get the Heroku toolbelt
heroku login
heroku git:remote -a keepdelivering

Deploy

bin/heroku/deploy

Migrations

heroku run rake db:migrate
heroku restart