git clone [email protected]:Shkuryn/finance_tracker.git
cd finance_tracker
ruby -v
The ouput should start with something like ruby 3.0.3
If not, install the right ruby version using rvm (it could take a while):
rvm install 3.0.3
Using Bundler, Yarn and Node.js
bundle
install yarn
install node.js
bundle exec rake webpacker:install
rails db:create db:migrate db:seed
Using Heroku CLI:
heroku git:remote -a finance_tracker
heroku git:remote --remote heroku-staging -a finance_tracker-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 finance_tracker-staging
Push to Heroku production remote:
git push heroku