- Ruby 2.2.2
- Rails 4.2.1
- PostgreSQL
- Start server with
foreman start --port 3000
- 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 asbrew install imagemagick
.
Hosted on Heroku, install the CLI. CircleCI automatically deploys develop
to QA, master
to Staging on green builds.
- QA: whatweate-qa.herokuapp.com
- Staging: whatweate-staging.herokuapp.com
- Production: whatweate.co / whatweate.herokuapp.com
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