From 59ad0c5121b66f56cb48a6b116f81697d9e8577d Mon Sep 17 00:00:00 2001 From: Pritimay Sarkar Date: Mon, 19 Feb 2024 20:27:27 +0530 Subject: [PATCH] update doc for nodejs deployment --- .gitignore | 2 +- README.md | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 37ff9f5..566831c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,7 @@ env/ .DS_Store *.xlsx *.csv -*.json +scripts/**/*.json cloud-functions/python/functions/__pycache__/ *.pkl *.png diff --git a/README.md b/README.md index 0e46a22..3ca915d 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,11 @@ Repo for all data related work. firebase deploy --only functions:consolidation -### deploy function with gcloud +### deploy function with gcloud - nodejs + + gcloud functions deploy registerUser --runtime nodejs18 --trigger-http --region asia-south1 + +### deploy function with gcloud - python gcloud functions deploy my_function --runtime=python311 --region=asia-south1 --trigger-http --allow-unauthenticated