Add make target to deploy to Firebase

The configuration file has been split into 2: one for development mode
and another one for production mode.

Change-Id: I12917cd79c95642adc30004be5bc1a927bca389b
10 files changed
tree: 8b1cad50c286c7337a4fc197820e82aad785276a
  1. api_proto/
  2. cmd/
  3. docker/
  4. frontend/
  5. internal/
  6. schema/
  7. .clang-format
  8. .editorconfig
  9. .firebaserc
  10. .gitignore
  11. .gitreview
  12. docker-compose.dev.yml
  13. firebase.json
  14. go.mod
  15. go.sum
  16. Makefile
  17. README.md
README.md

TWPT-server

TWPT-server is the code for the TW Power Tools gRPC server and its frontend.

This repository is under active development, and is not ready yet for production.

Frontend

To serve the frontend, follow these instructions:

  1. Run docker-compose -f docker-compose.dev.yml up to start the gRPC API, database and Envoy proxy (which will translate gRPC-Web <-> gRPC).
  2. Run mysql -u root twpt < schema/*.sql.
  3. Run docker-compose -f docker-compose.dev.yml restart.
  4. Run npm install.
  5. Run make serve.