HappyHour is application for drink promotion events.
git clone git@github.com:zauzaj/happyhour.git
Ruby version 2.2 is preferred. Dependency for rmagick gem is imagemagick library.
bundle install
File config/secrets.yml holds sensitive data. Rename config/secrets.yml.example to config/secrets.yml and fill required data.
Rename the config/database.yml.example to config/database.yml.example and change username and password to match your local dababase credentials.
Then run database migrations:
bin/rake db:migrate
bin/rails s Application should be accessible on http://localhost:3100
bin/rspec
Login to Heroku:
heroku login
Then push variables from config/secrets.yml to Heroku environment variables:
bin/rake heroku:secrets RAILS_ENV=production
Push code:
git push heroku master