weLaika's Suspenders
=======
This is a suspenders fork in use at weLaika. Big thanks to thoughtbot for providing such a great starting point.
Installation
First ensure you have PostgreSQL, npm, yarn and chromedriver
$ brew install postgresql@10
$ brew install node
$ npm install npm@latest -g # To update npm if you have already installed it
$ brew install yarn
$ brew casks install chromedriver
then install the suspenders gem:
gem install welaika-suspenders
If you want to use heroku, please install the heroku toolbelt and run
heroku login
Then run:
welaika-suspenders projectname
This will create a Rails app in projectname
using the latest version of Rails.
You can optionally specify alternate Heroku flags:
welaika-suspenders projectname \
--heroku true \
--heroku-flags "--addons sendgrid,logentries,scheduler"
See all possible Heroku flags:
heroku help create
This will create a rails app in projectname
. This script creates a
new git repository. It is not meant to be used against an existing repo.
cd projectname && bin/setup
If you want to add an empty bare repository as origin, run
git remote add origin git@github.com:welaika/projectname.git
Sentry && Heroku
After deploying for the first time on Heroku, please run
heroku labs:enable runtime-dyno-metadata
for Sentry's release detection to work correctly.
Version number
welaika-suspenders
version number isn't related to thoughbot's suspenders.