CVWO Project
Name: Dai Tianle
Matriculation Number: A0196715U
This app is developed based on the tutorial For setting up ruby environment on latest mac os, I recommend this tutorial
ruby -v
The ouput should start with something like ruby 2.7.2
If not, install the right ruby version using rbenv (it could take a while):
rbenv install 2.7.2
bundle && yarn
rails server
rails db:create db:migrate db:seed
rails db:migrate:reset
Using Heroku CLI:
heroku git:remote -a project
heroku git:remote --remote heroku-staging -a project-staging
Push to Heroku production remote:
git push heroku
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