# <%= app_name.humanize %> ## Getting Started After you have cloned this repo, run this setup script to set up your machine with the necessary dependencies to run and test this app: % ./bin/setup It assumes you have a machine equipped with Ruby, Postgres or MySQL, Node, Yarn and ImageMagick. To install Ruby, read the [rbenv guide](https://github.com/rbenv/rbenv#installation) or the [rvm guide](https://rvm.io/rvm/install). To install Postgres: $ brew install postgresql@10 To install Node: $ brew install node (or use [nvm](https://github.com/creationix/nvm) if you want). To update Node: $ npm install npm@latest -g To install Yarn: $ brew install yarn To install Chromedriver (for integration test): $ brew cask install chromedriver To install ImageMagick (delete if not applicable): $ brew install imagemagick@6 After setting up, you can run the application using [Heroku Local](https://devcenter.heroku.com/articles/heroku-local): $ heroku local ## Setup on Heroku (delete if not applicable): ### Database https://elements.heroku.com/addons/heroku-postgresql Choose the PostgreSQL version you want to use (e.g. 10): $ heroku addons:create heroku-postgresql:hobby-dev --version=10 --remote=staging $ heroku addons:create heroku-postgresql:hobby-dev --version=10 --remote=production Further reading: https://devcenter.heroku.com/articles/heroku-postgres-plans ### Logs https://elements.heroku.com/addons/logentries $ heroku addons:create logentries:le_tryit --remote=staging $ heroku addons:create logentries:le_tryit --remote=production ### Cronjobs (if you need them): https://elements.heroku.com/addons/scheduler $ https://elements.heroku.com/addons/scheduler ### Sentry For Sentry's release detection to work correctly, please run $ heroku labs:enable runtime-dyno-metadata ### Redis (if you need for Sidekiq): https://elements.heroku.com/addons/heroku-redis $ heroku addons:create heroku-redis:hobby-dev