Manage your infrastructure (and everything else) with diagrams.
You may need to set the project and authenticate with gcp.
gcloud auth application-default login
gcloud config set project rad-dev-canvas-kwm6
Ask Will for a valid .env
file for the API. Then it's as simple as....
API
cd api
poetry install
make start
UI
cd ui
npm install
npm start
make deploy-ui-cloudbuild-kaniko
make deploy-api-cloudbuild-kaniko
graph TD
UI[UI] --> API
UI --> AuthService[Auth Service]
API --> AuthService
API --> PubSubTopic[PubSub Topic]
API --> canvas-db[canvas-db]
AuthService --> user-db[user-db]
PubSubTopic --> Provisioner
Provisioner --> InfrastructureAppsAgents[Infrastructure / Apps / Agents]
gs[gs://rad-canvas-packages] --> Provisioner
click UI "https://github.com/WillBeebe/cloud-canvas/tree/main/ui" _blank
click API "https://github.com/WillBeebe/cloud-canvas/tree/main/api" _blank
click AuthService "https://github.com/WillBeebe/auth-service" _blank
%% click PubSubTopic "https://github.com/yourusername/pubsub-topic-repo" _blank
%% click canvas-db "https://github.com/yourusername/canvas-db-repo" _blank
%% click user-db "https://github.com/yourusername/user-db-repo" _blank
click Provisioner "https://github.com/WillBeebe/package-provisioner" _blank
%% click InfrastructureAppsAgents "https://github.com/yourusername/infrastructure-apps-agents-repo" _blank
click gs "https://github.com/WillBeebe/canvas-packages" _blank
style InfrastructureAppsAgents fill:#127312