Heroku CLI Deployment of Ruby on Rails APIs powered by PostgreSQL with MacOS

https://buddy.works/guides/thumbnails/cover-heroku.png
  1. A free Heroku account (https://signup.heroku.com/dc)
  2. MacOS homebrew installation in command shell
brew install heroku/brew/heroku
heroku login
heroku create
touch Procfile
web: bundle exec puma -t 5:5 -p ${PORT:-3000} -e ${RACK_ENV:-development}
git add .
git commit -m "init"
git push heroku master
Heroku account related repo settings
Add Token secret key/value pair in config vars
heroku run rake db:migrate
Help@Home backend data

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Gulgina Arkin

Gulgina Arkin

Multi-human-lingual and multi-programming-lingual | https://www.gaierken.com/