Skip to content

mateussoaresr/rails-react-app

Repository files navigation

RAILS-REACT-APP

Database

rails db:create
rails db:migrate

Start

rake start

Both React and Rails will start. Sweet, just one terminal window!

Heroku Deploy

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

Rename your remote:

git remote rename heroku heroku-staging

To add corrects buildpacks to this project:

heroku buildpacks:add heroku/nodejs --index 1
heroku buildpacks:add heroku/ruby --index 2

Deploy:

git push heroku your_branch:master

About

A rails backend and react frontend app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors