This is likely to change dramatically, but we have to start somewhere.
Install gcloud CLI: https://cloud.google.com/sdk/docs/install
Login as yourself (so that current project can be set)
gcloud auth login
Login with Application-default credentials (ADC):
gcloud auth application-default login
Select the project you want to use:
gcloud config set project ${PROJECT_ID}
This project is currently in Javascript, not Typescript, so it does not need to be built.
npm run deploy ${graph}
For now, ${graph}
value is limited to one of the filenames in the graphs
directory of the packages/breadboard-web
package.
For example, running:
npm run deploy accumulating-context.json
Will deploy a new version of a cloud function named accumulating-context
in the current GCP project.