Note: on Heroku, CuttingEdge uses heroku.config.rb
instead of config.rb
.
Note: if you will be using a public GitHub or GitLab repo to host your CuttingEdge configuration, make sure not to put any secrets in heroku.config.rb
or projects.yaml
. Instead, use environment variables (for instance to set authentication tokens).
Steps:
- Fork and clone this repository locally
- Move
Procfile
from theheroku
subdirectory into the repository root and commit. - Move the sample
heroku.config.rb
from theheroku
subdirectory into the repository. - Edit
heroku.config.rb
to suit your needs and commit. - Edit
projects.yml
to suit your needs and commit it to the repo. gem install bundler && bundle install
- `git add Gemfile.lock && git commit -m "Commit Gemfile.lock for use on Heroku"
heroku create my-cuttingedge
heroku config:add HEROKU_APP_NAME=my-cuttingedge
heroku addons:create heroku-redis:hobby-dev -a my-cuttingedge
(using Redis is highly recommended on Heroku)git push heroku master
- Optional, if you want to receive email notifications:
heroku addons:create mailgun:starter
heroku config:add CUTTING_EDGE_MAIL_TO=mydependencies@mydependencymonitoring.com
You may also want to set some Heroku config variables, for instance to use authentication tokens in heroku.config.rb
.