Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.97 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.97 KB

Build status Test Coverage Code Climate

WhatWeAte

WhatWeAte at 31 May 2015

Getting started

  • Ruby 2.2.2
  • Rails 4.2.1
  • PostgreSQL
  • Start server with foreman start --port 3000

Dependencies

  • Redis for Sidekiq
  • Photo uploading and processing is handled by CarrierWave, you'll need to install imagemagick for versions (e.g. thumbnail). This should be as easy as brew install imagemagick.

Staging and Production environments

Hosted on Heroku, install the CLI. CircleCI automatically deploys develop to QA, master to Staging on green builds.

Deployment

heroku git:remote -a whatweate-qa -r qa
heroku git:remote -a whatweate-staging -r staging
heroku git:remote -a whatweate-production -r production

QA and Staging are configured to be continuously deployed from develop and master respectively. Production deploys are manual using the following.

git push production <branch>:master && heroku run rake db:migrate -r production