rails db:create
rails db:migrate
rake start
Both React and Rails will start. Sweet, just one terminal window!
If you have already created your Heroku app, you can easily add a
remote to your local repository with the heroku git:remote command.
All you need is your Heroku app’s name:
heroku git:remote -a your-heroku-app
set git remote heroku to https://git.heroku.com/your-heroku-app.git
git remote rename heroku heroku-staging
heroku buildpacks:add heroku/nodejs --index 1
heroku buildpacks:add heroku/ruby --index 2
git push heroku your_branch:master