View Code? Open in Web Editor
NEW
Ohrmuritel cheesecake - it's flatstack PDP
Home Page: https://ohmuritel-stage.herokuapp.com/
Dockerfile 0.10%
Ruby 57.26%
JavaScript 38.53%
CSS 0.74%
HTML 2.68%
Shell 0.69%
ohmuritel's Introduction
Install docker
Install docker-compose
Install dip
brew tap bibendi/dip
brew install dip
or
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
or use the prefix dip
for the following console commands
It’s preferable to use the first option, it will add hints to your console
Run this command for build docker-compose and apply default setting
Use default rails command using item 4 of this list
eval " $( dip console) "
rails s
RAILS_ENV=production rails c
dip will auto provide all command to docker images with setting into dip.yml
dip rails s
dip RAILS_ENV=production rails c
Stage
Production
Install Lefthook
for apply git hooks
brew install Arkweid/lefthook/lefthook
or other way from link
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.
You can see all supported commands in a dip.yml
ohmuritel's People
Contributors
Stargazers