Sha256: 1d0a1e5288b6363c5307d388e03a1dd8e52a34e4feb0c897c8a3c9a486ce2af9

Contents?: true

Size: 1.97 KB

Versions: 1

Compression:

Stored size: 1.97 KB

Contents

# <%= 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
welaika-suspenders-2.31.0 templates/README.md.erb