tree: 7078cc401223a978fa8db4a5e05c094cef5ba87f [path history] [tgz]
  1. src/
  2. .angular-cli.json
  3. .firebaserc
  4. .gitignore
  5. firebase.json
  6. karma.conf.js
  7. npm-shrinkwrap.json
  8. package.json
  9. README.md
  10. tsconfig.json
  11. tslint.json
web/cloud_dashboard/README.md

Cloud dashboard

Web dashboard allowing a signed-in user to inspect their Ledger state and trigger cloud erase if needed.

This project is built using Angular was originally scaffolded using version 1.2.1.

Development workflow

Make sure that you have nodejs and Angular CLI installed, then run npm install in the cloud_dashboard directory.

Then, you can use Angular CLI (ng):

  • run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files
  • run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|module
  • run ng test to execute the unit tests via Karma

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

Deployment

Make sure that you have Firebase CLI installed, and run firebase login at least once. Then:

  • run ng build -prod to build the project. The build artifacts will be stored in the dist/ directory
  • run firebase deploy