UI frontend repository for the Providence Geeks website. Built with React and webpack.
Runs the app in development mode. The page will automatically reload when changes are made, and you should see build errors and lint warnings in the console.
yarn develop
The page should open automatically, however if it doesn't the url is: http://localhost:9000.
For testing from a mobile device
192.168.x.y
- OSX / Linux / Windowsdevelop
task and pass a --host
flag to webpack-dev-server, e.g. yarn run develop --host 0.0.0.0
http://192.168.x.y:9000
Be aware that using address 0.0.0.0
opens up the host machine to be accessible from all IP addresses.
Hence we avoid making this the default host unless explicitly needed.
Creates a minified bundled build, and outputs to the build folder.
yarn build
Runs unit tests with jest
yarn test
For TDD (recommended for local development), add the watch
flag
yarn test --watch
To generate coverage, use
yarn test --coverage
Run a production build locally
yarn serve
Release management and procedure docs can be found in the wiki