Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
justinyoo committed Oct 1, 2023
1 parent 2a003f1 commit f9b8fa0
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ This provides sample Blazor apps that summarise a YouTube video transcript to a
# PowerShell
$AZURE_ENV_NAME="summariser$(Get-Random -Min 1000 -Max 9999)"
$GITHUB_USERNAME="{{GITHUB_USERNAME}}"
$GITHUB_REPOSITORY_NAME="{{GITHUB_REPOSITORY_NAME}}"

# Bash
AZURE_ENV_NAME="summariser$RANDOM"
GITHUB_USERNAME="{{GITHUB_USERNAME}}"
GITHUB_REPOSITORY_NAME="{{GITHUB_REPOSITORY_NAME}}"
```

1. Run the commands below to provision Azure resources:
Expand All @@ -34,6 +36,8 @@ This provides sample Blazor apps that summarise a YouTube video transcript to a
azd up
```

> **Note:** You may be asked to enter your GitHub username/orgname and repository name where your forked repository is located.

1. Get the endpoint, API key and deployment ID.

```bash
Expand Down Expand Up @@ -70,6 +74,17 @@ This provides sample Blazor apps that summarise a YouTube video transcript to a
--query "[0].name" -o tsv)
```
### Deploying Applications to Azure
1. Run the commands below to deploy apps to Azure:
```bash
az login
gh auth login
azd pipeline config
gh workflow run "Azure Dev" --repo $GITHUB_USERNAME/$GITHUB_REPOSITORY_NAME
```
### Deprovision Azure OpenAI Service
1. To avoid unexpected billing shock, run the commands below to deprovision Azure resources:
Expand Down

0 comments on commit f9b8fa0

Please sign in to comment.