Skip to content

notes taking chrome extension with backend written in Go. Helps saving the retrieving notes for your favorite webpages very handy, right there.

Notifications You must be signed in to change notification settings

research-pal/backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

INSTRUCTIONS

Deploying to app engine

  1. appengine: "App Engine default service account" should be availible. this (i guess) is created when the appengine component is added to this GCP project. otherwise, app deploy to gcp app engine fa ils with below error
    Updating service [default]...failed.
    ERROR: (gcloud.app.deploy) Error Response: [13] Error processing user code.
    the email id of the default service account will be of the below pattern @appspot.gserviceaccount.com
  2. "Cloud Build API" api should be enabled for the project. just one time thing.
  3. set the project name correctly in ./scripts/deploy.sh to the gcloud config set project command
  4. run ./scripts/appengine/deploy.sh

Deploying to local

About permission for Firestore db operations from local

  1. make sure you already have the service account with the name "App Engine default service account".
  2. IAM -> Service Accounts -> for the "App Engine default service account", under Actions, choose "Create Key" -> "JSON" option -> save the json file safely -> save the path to env var GOOGLE_APPLICATION_CREDENTIALS Note: if you need to create another key, if original key is lost or giving access to another person, the same instructions will work, as multiple keys can be generated and shared.
  3. set roles: IAM -> Permissions -> Members -> edit the "App Engine default service account" -> add "Cloud Datastore User" role. or may be "Cloud Datastore Owner" if that is not suffecient -> save
  4. after deploying to local, the db operations should work now

deployment steps

  1. run ./scripts/local/deploy.sh

About

notes taking chrome extension with backend written in Go. Helps saving the retrieving notes for your favorite webpages very handy, right there.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published