yarn install
(or npm install
for npm)cp .env.example .env
.env
This project uses 12-Factor Config. Configuration lives in .env
. The values required can be found in the #waypoints
slack channel on Hawk's Nest or by contacting Solomon Hawk.
Development
yarn run start:dev
http://localhost:8080
Production
yarn run start:prod
http://localhost:3000
All commands
Command | Description |
---|---|
yarn run start:dev |
Build app continuously (HMR enabled) and serve @ http://localhost:8080 |
yarn run start:prod |
Build app once (HMR disabled) and serve @ http://localhost:3000 |
yarn run build |
Build app to /dist/ |
yarn run test |
Run tests |
yarn run test:cov |
Run test coverage |
yarn run lint |
Run Typescript linter |
yarn run start |
(alias of yarn run start:dev ) |
yarn run deploy |
Deploy with now |
yarn run deploy:now |
Deploy immediately without doing a build first |
Note: replace yarn
with npm
if you use npm.