Skip to content

pour-overs/dashboard

Repository files navigation

Dashboard

Getting Started

  1. npm i
  2. Generate firebase-admin Service credentials
  3. Move and rename service key file to root as firebase-admin-service-key.json
  4. export GOOGLE_APPLICATION_CREDENTIALS=firebase-admin-service-key.json
  5. npm run dev

Resources

See npm run for more options.

See Instructions for firebase-admin setup.

Warning GOOGLE_APPLICATION_CREDENTIALS

The error below:

[2020-07-12T17:26:07.462Z]  @firebase/database: FIREBASE WARNING: {"code":"app/invalid-credential","message":"Credential implementation provided to initializeApp() via the \"credential\" property failed to fetch a valid Google OAuth2 access token with the following error: \"Error fetching access token: Error while making request: getaddrinfo ENOTFOUND metadata.google.internal metadata.google.internal:80. Error code: ENOTFOUND\"."}

―is related to not having a firebase-admin service credential and it being set via the GOOGLE_APPLICATION_CREDENTIALS.

CICD

Pushes trigger cloud deployments.

See Google Cloud Console triggers.

About

The dashboard for managing content and deploys

Resources

Stars

Watchers

Forks