git clone git@github.com:/luisintosh/pagedigital.git
cd pagedigital
ruby -v
The ouput should start with something like ruby 3.1.0
If not, install the right ruby version using rbenv (it could take a while):
rbenv install 3.1.0
bundle && yarn
TODO
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