oeco architectes website
Continuous integration is managed by Travis CI. Code analysis is performed by Code Climate. Code coverage is reported to Coveralls. Dependency tracking is managed by Gemnasium.
Pushes on master branch are automatically deployed on http://oeco-staging.herokuapp.com.
Tags are automatically deployed on http://oeco.herokuapp.com.
Step 1: deploy to master
git push
Step 2: test at http://oeco-staging.herokuapp.com
Step 3: deploy to production
git tag vX.Y.Z
git push --tags
Heroku configuration:
heroku keys:add
Staging environment:
git remote add staging git@heroku.com:oeco-staging.git
git push staging
heroku run rake db:setup --app oeco-staging
heroku run rake db:migrate --app oeco-staging
heroku config:add STAGING=true --app oeco-staging
heroku config:add USERNAME=oeco --app oeco-staging
heroku config:add PASSWORD=[secure] --app oeco-staging
Production environment:
git remote add production git@heroku.com:oeco.git
git push production
heroku run rake db:setup --app oeco
heroku run rake db:migrate --app oeco