Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Latest commit

 

History

History

webapp

Reviewer webapp

The Reviewer front-end is an Angular webapp.

To set up your development environment, follow these steps:

Installation

Install these:

(Installation of exact versions is not required, but recommended. We can't guarantee that webapp will work properly with different versions.)

How to install on Linux

Optional:

Run npm ci to install npm modules

Run npm run protoc to generate proto functions. More info.

Running the server locally

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

Updating protos

After every proto update, run npm run protoc.

Supported platforms

Development is supported on Linux and Mac only (npm run protoc doesn't support Windows).