Skip to content

Commit 0dcf365

Browse files
committed
azd up / azd down with processed messages
1 parent 6fecda7 commit 0dcf365

File tree

9 files changed

+319
-161
lines changed

9 files changed

+319
-161
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ __pycache__/
55
.coverage
66
.idea/
77
.venv/
8+
infra/main.json

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,12 @@ Install the required dependencies by running:
3838
```bash
3939
az login
4040
azd auth login
41-
az group create -l francecentral -n rambi-dev
42-
azd up
41+
azd up
42+
? Enter a new environment name: dev
43+
? Select an Azure Subscription to use: 1. fake-subscription (00000000-0000-0000-0000-000000000000)
44+
? Select an Azure location to use: 21. (Europe) France Central (francecentral)
45+
? Pick a resource group to use: Create a new resource group
46+
? Enter a name for the new resource group: azrambi-dev
4347
```
4448

4549
Warning: the provision phases include an APIM and A Redis Cache that can take a veryyyyyyy loooooong time to become available. Patience ! if it fails run the `azd up` command again.
@@ -78,7 +82,7 @@ To open the application, click on the link below the `Done: Deploying service gu
7882
### Troobleshooting configuration
7983

8084
```
81-
az deployment group create --resource-group rambi-dev --template-file infra/user_portal_role.bicep
85+
az deployment group create --resource-group <target_rg> --template-file infra/user_portal_role.bicep
8286
```
8387

8488
### Configure Github actions
@@ -167,6 +171,12 @@ To use the new `movie_generator_svc` service, make a POST request to the `/gener
167171
168172
The service will return a JSON response with the generated movie details.
169173
174+
## Clean up
175+
176+
```sh
177+
azd down --force --purge
178+
```
179+
170180
## Contributing
171181
172182
We welcome contributions! Please read our [contributing guidelines](CONTRIBUTING.md) for more details.

clean_apps.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
az containerapp delete --name gui-svc -g rambi-dev --no-wait -yy
2+
az containerapp delete --name movie-generator-svc -g rambi-dev --no-wait -y
3+
az containerapp delete --name rambi-events-handler -g rambi-dev --no-wait -y
4+
az containerapp delete --name movie-poster-svc -g rambi-dev --no-wait -y

0 commit comments

Comments
 (0)