git clone git@github.com:JorgePadilla/red-dragon.git
cd red-dragon
ruby -v
The ouput should start with something like ruby 2.6.3
If not, install the right ruby version using rbenv (it could take a while):
rbenv install 2.6.3
bundle && yarn
Using Figaro:
See config/application.yml.sample and contact the developer: jp@gmail.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