diff --git a/.devcontainer/dapr/post-create.sh b/.devcontainer/dapr/post-create.sh index 6c546c3..04d6a74 100644 --- a/.devcontainer/dapr/post-create.sh +++ b/.devcontainer/dapr/post-create.sh @@ -60,9 +60,9 @@ echo " Dashboard UI: http://localhost:8123/dashboard" echo " Notifications UI: http://localhost:8123/notifications-service" echo "" echo "To deploy Drasi components:" -echo " kubectl apply -f drasi/sources/" -echo " kubectl apply -f drasi/queries/" -echo " kubectl apply -f drasi/reactions/" +echo " drasi apply -f drasi/sources/*" +echo " drasi apply -f drasi/queries/*" +echo " drasi apply -f drasi/reactions/*" echo "" echo "Then run the demo scripts:" echo " cd demo" diff --git a/tutorial/dapr/README.md b/tutorial/dapr/README.md index 28b7e63..a744b46 100644 --- a/tutorial/dapr/README.md +++ b/tutorial/dapr/README.md @@ -29,9 +29,9 @@ Follow along the tutorial instructions on [our website here](https://drasi.io/tu 3. When port 80 notification appears, click "Open in Browser" 4. Deploy Drasi components: ```bash - kubectl apply -f drasi/sources/ - kubectl apply -f drasi/queries/ - kubectl apply -f drasi/reactions/ + drasi apply -f drasi/sources/* + drasi apply -f drasi/queries/* + drasi apply -f drasi/reactions/* ``` 5. Access the applications via the forwarded URL: - Catalog UI: `https://.app.github.dev/catalogue-service` @@ -69,9 +69,9 @@ Follow along the tutorial instructions on [our website here](https://drasi.io/tu - Wait for setup to complete (~5 minutes) - Deploy Drasi components: ```bash - kubectl apply -f drasi/sources/ - kubectl apply -f drasi/queries/ - kubectl apply -f drasi/reactions/ + drasi apply -f drasi/sources/* + drasi apply -f drasi/queries/* + drasi apply -f drasi/reactions/* ``` - Access applications at: - Catalog UI: http://localhost:8123/catalogue-service @@ -126,9 +126,9 @@ Follow along the tutorial instructions on [our website here](https://drasi.io/tu 3. **Deploy Drasi components** ```bash - kubectl apply -f drasi/sources/ - kubectl apply -f drasi/queries/ - kubectl apply -f drasi/reactions/ + drasi apply -f drasi/sources/* + drasi apply -f drasi/queries/* + drasi apply -f drasi/reactions/* ``` 4. **Access the applications** diff --git a/tutorial/dapr/scripts/setup-tutorial.ps1 b/tutorial/dapr/scripts/setup-tutorial.ps1 index eb146eb..c070d28 100644 --- a/tutorial/dapr/scripts/setup-tutorial.ps1 +++ b/tutorial/dapr/scripts/setup-tutorial.ps1 @@ -175,9 +175,9 @@ if ($env:CODESPACES) { } Write-Host "" Write-Host "To deploy Drasi components, run:" -ForegroundColor Yellow -Write-Host " kubectl apply -f drasi/sources/" -ForegroundColor White -Write-Host " kubectl apply -f drasi/queries/" -ForegroundColor White -Write-Host " kubectl apply -f drasi/reactions/" -ForegroundColor White +Write-Host " drasi apply -f drasi/sources/*" -ForegroundColor White +Write-Host " drasi apply -f drasi/queries/*" -ForegroundColor White +Write-Host " drasi apply -f drasi/reactions/*" -ForegroundColor White Write-Host "" Write-Host "Then explore the demos:" -ForegroundColor Yellow Write-Host " cd demo" -ForegroundColor White diff --git a/tutorial/dapr/scripts/setup-tutorial.sh b/tutorial/dapr/scripts/setup-tutorial.sh index 49fc0ec..0f8fb92 100755 --- a/tutorial/dapr/scripts/setup-tutorial.sh +++ b/tutorial/dapr/scripts/setup-tutorial.sh @@ -212,9 +212,9 @@ else fi echo "" echo "To deploy Drasi components, run:" -echo " kubectl apply -f drasi/sources/" -echo " kubectl apply -f drasi/queries/" -echo " kubectl apply -f drasi/reactions/" +echo " drasi apply -f drasi/sources/*" +echo " drasi apply -f drasi/queries/*" +echo " drasi apply -f drasi/reactions/*" echo "" echo "Then explore the demos:" echo " cd demo"