34 lines
929 B
Markdown
34 lines
929 B
Markdown
# hpos-data
|
|
|
|
Repo for all data related work.
|
|
`scripts` contains all the data processing scripts. `cloud-functions` conatins all the funtions written in Node.js and python.
|
|
`queries` contains sql queries. `train` has the training files and `cuda` folder is for cuda kernels.
|
|
|
|
|
|
### installation
|
|
|
|
pip install requirements.txt
|
|
|
|
|
|
### some functions are deplyed with endpoints
|
|
|
|
https://asia-south1-hpos-af3cc.cloudfunctions.net/registerUser
|
|
|
|
### gcloud set project
|
|
|
|
gcloud config set project hpos-qa
|
|
|
|
### deploy specific function
|
|
|
|
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 clearusers --runtime=python311 --region=asia-south1 --trigger-http --memory=512MB
|
|
|
|
### function log
|
|
|
|
gcloud functions logs read performance --region=asia-south1 --limit=100
|