by ren-forks


Heroku React builtpack - Ren fork

See mars/create-react-app-buildpack for full instructions.

Initial setup

In your git reposistory, add your Heroku project's git remote:

git remote add heroku

If the React app is in a subdirectory of your git repository, see subdir-heroku-buildpack.

Next, set up this Heroku buildpack:

heroku buildpacks:clear
heroku buildpacks:set

Finally, push to the Heroku git remote (replacing yourbranch with the branch you are pushing from):

git push heroku yourbranch:master

Deploying new changes

Same as the last step of the intial setup:

git push heroku yourbranch:master

Pulling upstream changes

git remote add upstream
git pull upstream master