Skip to content

akiirobot/note

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note

pip install google-cloud-firestore

GCP

Init GCP

gcloud auth login
gcloud config set project PROJECT_ID

# enable service (for new project and only first time)
gcloud services enable run.googleapis.com

# setup key for debugging
# change path if needed
export GOOGLE_APPLICATION_CREDENTIALS="path/to/xxxxxx-xxxxxx-xxxxxxxxxxxx.json"

Create firestore

gcloud alpha firestore databases create \
--database=note \
--location=asia-east1 \
--type=firestore-native

Debug

python -m venv venv
source venv/bin/activate
pip install functions-framework
pip install -r function/note/requirements.txt
./debug.sh

Deploy

./deploy.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published