This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heroku create -b https://github.com/heroku/heroku-buildpack-static.git | |
echo '{ "root": "build/" }' > static.json | |
sed '/build/d' .gitignore > .gitignore.new && mv .gitignore.new .gitignore | |
## Build, commit, & deploy | |
npm run build | |
git add . | |
git commit -m "react-create-app on Heroku" | |
git push heroku master |