npm installnpm run devnpm run devnpm run buildnpm run test- Add heroku
heroku git:remote -a wearepush-redux-starter
To get this project to work on Heroku, you need to:
- Remove the
"PORT": 8080line from thebetterScripts/start-prodsection ofpackage.json. heroku config:set NODE_ENV=productionheroku config:set NODE_PATH=./srcheroku config:set NPM_CONFIG_PRODUCTION=falseheroku config:set NODE_MODULES_CACHE=false
- This is to enable webpack to run the build on deploy.