Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ren-forks/create-react-app-buildpack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

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 https://git.heroku.com/project-name.git

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 https://github.com/ren-forks/create-react-app-buildpack.git

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 https://github.com/mars/create-react-app-buildpack.git
git pull upstream master

About

⚛️ Heroku Buildpack for create-react-app: static hosting for React.js web apps

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%