- cd app/
- remove 'from app' part on line 1 of 'from app import gcs, schemas' so its just 'import gcs, schemas'
- point service-account location on line 46 a local service account json file eg. service_account = '../service-account'
- uvicorn main:app --reload
- Undo the changes in part 2 and 3 of To run locally
- make sure you're in the root dir
- run sh deploy.sh
-
gcloud beta api-gateway api-configs create 'CONFIG_NAME' --api=api-gateway --openapi-spec=openapi2-spec.yaml --project=halcyonsw --backend-auth-service-account=[email protected]
-
gcloud beta api-gateway gateways update halcyon-api-gateway --api=api-gateway --api-config='CONFIG_NAME' --location=us-central1 --project=halcyonsw