git clone git@github.com:juliendargelos/project.git
cd project
ruby -v
bundle && yarn
Using Figaro:
See config/application.yml.sample and contact the developer: contact@juliendargelos.com (sensitive data).
rails db:create db:migrate db:seed
Using Heroku CLI:
heroku git:remote -a project
heroku git:remote --remote heroku-staging -a project-staging
rails s
Push to Heroku staging remote:
git push heroku-staging
Go to the Heroku Dashboard and promote the app to production or use Heroku CLI:
heroku pipelines:promote -a project-staging
Push to Heroku production remote:
git push heroku
docker build -t my-ruby-app . docker run --detach -p 9000:3000 my-ruby-app