npm install
npm run dev
npm run dev
npm run build
npm 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": 8080
line from thebetterScripts
/start-prod
section ofpackage.json
. heroku config:set NODE_ENV=production
heroku config:set NODE_PATH=./src
heroku config:set NPM_CONFIG_PRODUCTION=false
heroku config:set NODE_MODULES_CACHE=false
- This is to enable webpack to run the build on deploy.