update doc for nodejs deployment

This commit is contained in:
Pritimay Sarkar
2024-02-19 20:27:27 +05:30
parent 9417a73b8a
commit 59ad0c5121
2 changed files with 6 additions and 2 deletions

2
.gitignore vendored
View File

@@ -3,7 +3,7 @@ env/
.DS_Store
*.xlsx
*.csv
*.json
scripts/**/*.json
cloud-functions/python/functions/__pycache__/
*.pkl
*.png

View File

@@ -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