Skip to content

thu-san/heroku-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

heroku-github

Example React app on Heroku deploy from Github.

Demo

https://heroku-react-deploy.herokuapp.com/

Create React project and host it on heroku

Create React project : https://github.com/mars/create-react-app-buildpack#quick-start

Push to Github

git remote add origin https://github.com/acc/heroku-react.git
git push origin master

Replace https://github.com/acc/heroku-react.git with the git repository you want.

You can also create a Github repository first and clone it.

Set Deployment method

In your newly created heroku app dashboard, go to

  • Deploy
  • Choose Github in Deployment method
  • Type in repository name : in this case heroku-react
  • Click Search and click Connect

Screen Shot

  • Choose Enable Automatic Deploys if you want. This will set heroku to deploy everytime you push a commit to github
  • Click DeployBranch and done

Screen Shot

About

React application on heroku

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published