- From the root of the project
npm install
- All:
npm test
- The application uses webpack to bundle the source code and hot loader to allow live refresh while developing.
- To run in development mode
npm run start
- From the root of the project
npm run build
- From the root of the project
npm run deploy
- Make sure the following environment variables are setup before the application runs. For a local testing, you can create an .env file in the root director with the values included.
DEPLOY_AWS_ACCESS_KEY_ID=<update with amazon key>
DEPLOY_AWS_SECRET_ACCESS_KEY=<update with amazon secret key>
DEPLOY_AWS_REGION=<update with amazon region>
CDN_BASE=<update with CloudFront cdn>
S3_BUCKET=<update with S3 bucket name>
GA_TRACKER=<update with Google Analytics tracker>
MIXPANEL_TRACKER=<update with mixpanel tracker>
API_URL=<update with api url. Include http:// or https://>