You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create constants.js with saveUrl, loginUrl, and retrieveUrl exported constants set to those urls
the retrieveUrl should not include the last path section
npm install && npm run build from root of "frontend" folder
Production build files will then be in the "www" folder. Deploy these wherever you'd like. (static host somewhere, Raspberry Pi server at home, etc)
Example: cd www then firebase deploy
From "gcloud-functions" folder
install firebase cli then run firebase init from inside the "frontend" folder to setup the firebase link
firebase deploy from inside the "frontend" folder
After deploying your frontend PWA, update index.js to reflect the correct URL for each Access-Control-Allow-Origin header
install gcloud cli
npm install && npm run build from root of "gcloud-functions" folder
from inside gcloud-functions/functions folder run the following command for each function exported in gcloud-functions/src/index.js
gcloud functions deploy {FUNCTION NAME} --runtime nodejs6 --trigger-http