Skip to content

Commit 1256d1d

Browse files
committed
readme
1 parent fc14767 commit 1256d1d

File tree

1 file changed

+60
-3
lines changed

1 file changed

+60
-3
lines changed

readme.md

Lines changed: 60 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ DBChatPro is an application designed to facilitate seamless communication with y
66

77
Before you begin, ensure you have met the following requirements:
88

9-
- [.NET 8.0 SDK](https://dotnet.microsoft.com/download) installed locally
10-
- One or more connection strings for a compatible database (SQL Server, MySQL, PostgreSQL, Oracle)
11-
- You have access keys or identity access to one or more of the supported AI platforms:
9+
- The [.NET 8.0 SDK](https://dotnet.microsoft.com/download) installed locally
10+
- You have access to one or more connection strings for a compatible database (SQL Server, MySQL, PostgreSQL, Oracle)
11+
- You have access keys or identity access configured for one or more of the supported AI platforms:
1212
- Azure OpenAI
1313
- OpenAI
1414
- Ollama
@@ -90,3 +90,60 @@ Configure a connection to your database through the UI of the app to begin query
9090
```plaintext
9191
User Id=<your-username>;Password=<your-password>;Data Source=<host>:<port>/<service-name>
9292
```
93+
94+
## Azure Developer CLI support
95+
96+
This repository is structured as an Azure Developer CLI template to support automated provisioning and deployment of resources to Azure.
97+
98+
- **This scenario only works for deploying to Azure and with the Azure OpenAI service.**
99+
- **This scenario may result in some costs, as Azure resources are provisioned..**
100+
101+
The Azure Developer CLI will automatically provision the following:
102+
103+
- Azure OpenAI Service
104+
- Azure Container Apps
105+
- Azure Key Vault
106+
- Azure Storage
107+
- Azure Resource Group
108+
109+
It will also automatically deploy your app to a Container Apps instance.
110+
111+
### Set up AZD
112+
113+
1. Install the [Azure Developer CLI](https://aka.ms/azure-dev/install-azd):
114+
115+
```sh
116+
winget install microsoft.azd
117+
```
118+
119+
OR
120+
121+
```sh
122+
curl -fsSL https://aka.ms/install-azd.sh | bash
123+
```
124+
125+
1. Authenticate to Azure using azd:
126+
127+
```sh
128+
azd auth login
129+
```
130+
131+
### Provision and deploy the app resources
132+
133+
1. In a terminal open to the root of your project:
134+
135+
```sh
136+
azd init
137+
```
138+
139+
1. Provision and deploy your resources:
140+
141+
```sh
142+
azd up
143+
```
144+
145+
1. The deployment process may take some time. Once the deployment is complete, you will see the URL where your application is hosted. Open this URL in your browser to access the application.
146+
147+
1. By default the Container App has ingress disabled to keep the app private. You'll need to enable ingress in the container app settings.
148+
149+
For more detailed information on using the Azure Developer CLI, refer to the [official documentation](https://aka.ms/azure-dev/overview).

0 commit comments

Comments
 (0)