Push to the main branch.
Push prd
tag in order to promote the latest staging image to production.
git tag -f prd HEAD
git push -f origin prd
bin/setup
devbox/start
Following processes will be started:
- Postgres
- Redis
bin/guard
which runs tasks like RSpec when files are changed (seeGuardfile
)- Rails server
- Sidekiq
- Logs output
devbox/bip70-cert
may be used to generate certificate and private key for testing.
bin/build
docker run --rm -it \
-v $(realpath .env.production.sample):/gear-engine/.env.production \
-p 19000:3000 gear-engine:latest bash -c 'bin/bundle exec bin/rails s'