- Install docker
- Install docker-compose
- Install dip
or
brew tap bibendi/dip brew install dip
curl -L https://github.com/bibendi/dip/releases/download/3.8.3/dip-`uname -s`-`uname -m` > /usr/local/bin/dip chmod +x /usr/local/bin/dip
- Use
- bash command
eval "$(dip console)"
- or use the prefix
dip
for the following console commands
- Run this command for build docker-compose and apply default setting
provision
- Use default rails command using item 4 of this list
- Example with
eval
dip will auto provide all command to docker images with setting into dip.ymleval "$(dip console)" rails s RAILS_ENV=production rails c
- Example with
dip
prefix
dip rails s dip RAILS_ENV=production rails c
- Example with
- Install Lefthook
for apply git hooks
or other way from link
brew install Arkweid/lefthook/lefthook
- Use
lefthook run ${hook name}
for run hooks manual - Run
standardrb
to lint a ruby code - Run
standard
to lint a js code - Run
crystalball
ro run all ruby spec using Regression Test Selection mechanism - Run
rspec
to run all ruby spec - Commit auto generate changes in heroku.yml when you change gem/js dependency it need for rebuild intermediate containers in CI process and get correct review_app stage and production.