Pritimay Sarkar 06374c2a71 deployment scripts
2024-02-19 12:47:17 +05:30
2024-02-19 12:46:52 +05:30
2023-12-29 23:06:26 +05:30
2023-11-08 14:00:05 +05:30
2024-02-19 12:47:17 +05:30
2024-01-17 15:46:37 +05:30
2023-12-10 16:49:32 +05:30
2024-01-21 15:18:27 +05:30
2024-01-17 16:15:22 +05:30
2023-09-18 12:14:36 +05:30
2023-08-17 22:17:38 +05:30
2024-01-27 01:41:53 +05:30
2024-01-21 15:31:48 +05:30

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

run tests

pytest

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

 gcloud functions deploy consolidation --runtime=python311 --region=asia-south1  --trigger-http --allow-unauthenticated --memory=512MB

function log

gcloud functions logs read performance --region=asia-south1 --limit=100

list buckets

gcloud storage ls

list devices

ls /dev/cu*
Description
No description provided
Readme 1.3 MiB
Languages
Jupyter Notebook 65%
Python 31.9%
JavaScript 1.5%
Shell 0.9%
HTML 0.6%
Other 0.1%