update doc for nodejs deployment
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -3,7 +3,7 @@ env/
|
||||
.DS_Store
|
||||
*.xlsx
|
||||
*.csv
|
||||
*.json
|
||||
scripts/**/*.json
|
||||
cloud-functions/python/functions/__pycache__/
|
||||
*.pkl
|
||||
*.png
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user