The Reviewer front-end is an Angular webapp.
To set up your development environment, follow these steps:
Install these:
- node version 10.15.3
- npm version 6.4.1
- google-protobuf, version 3.6.1
(Installation of exact versions is not required, but recommended. We can't guarantee that webapp will work properly with different versions.)
Optional:
Run npm ci
to install npm modules
Run npm run protoc
to generate proto functions. More info.
Run npm start
to start a dev server. Navigate to http://localhost:4200/
Run npm run build
to make a build.
Run npm run deploy
to publish the app on the server.
Run npm run functions
to update cloud functions on the server.
How to use firebase hosting:
https://firebase.google.com/docs/hosting/quickstart
How to use firebase functions:
https://firebase.google.com/docs/functions/get-started
After every proto update, run npm run protoc
.
Development is supported on Linux and Mac only (npm run protoc
doesn't support Windows).