add function deploys
This commit is contained in:
14
README.md
14
README.md
@@ -17,6 +17,20 @@ Repo for all data related work.
|
|||||||
|
|
||||||
https://asia-south1-hpos-af3cc.cloudfunctions.net/registerUser
|
https://asia-south1-hpos-af3cc.cloudfunctions.net/registerUser
|
||||||
|
|
||||||
|
### gcloud set project
|
||||||
|
|
||||||
|
gcloud config set project hpos-qa
|
||||||
|
|
||||||
### deploy specific function
|
### deploy specific function
|
||||||
|
|
||||||
firebase deploy --only functions:consolidation
|
firebase deploy --only functions:consolidation
|
||||||
|
|
||||||
|
### deploy function with gcloud
|
||||||
|
|
||||||
|
gcloud functions deploy my_function --runtime=python311 --region=asia-south1 --trigger-http --allow-unauthenticated
|
||||||
|
|
||||||
|
gcloud functions deploy curvefit --runtime=python311 --region=asia-south1 --trigger-http --memory=512MB
|
||||||
|
|
||||||
|
### function log
|
||||||
|
|
||||||
|
gcloud functions logs read curvefit --region=asia-south1
|
||||||
|
|||||||
Reference in New Issue
Block a user