Skip to content

Fixed link and updated steps to use azd init -t to pull content from the repo locally and initialize. #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,12 @@ This application requires resources like Azure OpenAI and Azure AI Search which

Execute the following command in a new terminal, if you don't have any pre-existing Azure services and want to start from a fresh deployment.

1. Ensure your deployment scripts are executable (scripts are currently needed to help AZD deploy your app)
1. Run the following command to download the project code
```bash
azd init -t https://github.com/Azure-Samples/Azure-Functions-OpenAI-Demo
```

2. Ensure your deployment scripts are executable (scripts are currently needed to help AZD deploy your app)

Mac/Linux:
```bash
Expand All @@ -76,7 +81,7 @@ Windows:
```Powershell
set-executionpolicy remotesigned
```
2. Provision required Azure resources (e.g. Azure OpenAI and Azure Search) into a new environment
3. Provision required Azure resources (e.g. Azure OpenAI and Azure Search) into a new environment
```bash
azd up
```
Expand Down Expand Up @@ -141,7 +146,7 @@ Your frontend and backend apps can run on the local machine using storage emulat
}
```
3. Disable VNET private endpoints in resource group so your function can connect to remote resources (or VPN into VNET)
4. Start Azurite using VS Code extension or run this command in a new terminal window using optional [Docker](www.docker.com)
4. Start Azurite using VS Code extension or run this command in a new terminal window using optional [Docker](http://www.docker.com)
```bash
docker run -p 10000:10000 -p 10001:10001 -p 10002:10002 \
mcr.microsoft.com/azure-storage/azurite
Expand Down
Loading