Skip to content

Commit 87f0c9f

Browse files
chore: remove unused deployment scripts and update AVM post-deployment guide
1 parent 8555d49 commit 87f0c9f

5 files changed

Lines changed: 17 additions & 180 deletions

File tree

docs/AVMPostDeploymentGuide.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,24 @@ Ensure you have a **Deployed Infrastructure** - A successful Chat with your data
1212

1313
## Post Deployment Steps
1414

15-
### Step 1: Configure App Authentication
15+
### Step 1: Run the Post-Deployment Setup Script
16+
17+
Run the post-deployment setup script to configure the Function App client key and create PostgreSQL tables (if applicable). Open [Azure Cloud Shell](https://shell.azure.com) (Bash) and run:
18+
19+
```bash
20+
az login
21+
git clone https://github.com/Azure-Samples/chat-with-your-data-solution-accelerator.git
22+
cd chat-with-your-data-solution-accelerator
23+
bash scripts/post_deployment_setup.sh "<your-resource-group-name>"
24+
```
25+
26+
### Step 2: Configure App Authentication
1627

1728
1. After deployment is complete, navigate to your Azure App Service in the Azure portal
1829
2. Follow the detailed instructions in [Set Up Authentication in Azure App Service](./azure_app_service_auth_setup.md) to add authentication to your web app
1930
3. This will ensure only authorized users can access your application
2031

21-
### Step 2: Access and Configure the Admin Site
32+
### Step 3: Access and Configure the Admin Site
2233

2334
1. **Navigate to the admin site** using the following URL pattern:
2435
```
@@ -36,7 +47,7 @@ Ensure you have a **Deployed Infrastructure** - A successful Chat with your data
3647
- Wait for the documents to be processed and indexed
3748
- Verify successful ingestion through the admin interface
3849

39-
### Step 3: Access the Chat Application
50+
### Step 4: Access the Chat Application
4051

4152
1. **Navigate to the main chat application** using this URL pattern:
4253
```

docs/postgreSQL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ LIMIT $2;
5757

5858
---
5959

60-
### 4. **Automated Table Creation**
61-
The PostgreSQL deployment process automatically creates the necessary tables for chat history and vector storage, including table indexes. The script `create_postgres_tables.py` is executed as part of the infrastructure deployment, ensuring the database is ready for use immediately after setup.
60+
### 4. **Table Creation**
61+
The necessary PostgreSQL tables for chat history and vector storage, including table indexes, are created as part of the post-deployment steps. The `setup_postgres_tables.py` script is executed during post-deployment, and once complete, the database will be ready for use.
6262

6363
---
6464

@@ -78,7 +78,7 @@ All PostgreSQL connections use secure configurations:
7878
## Benefits of PostgreSQL Integration
7979
1. **Scalability**: PostgreSQL offers robust data storage and table indexing capabilities suitable for large-scale deployments
8080
2. **Flexibility**: Dynamic database switching allows users to choose between PostgreSQL and CosmosDB based on their requirements.
81-
3. **Ease of Use**: Automated table creation and environment configuration simplify deployment and management.
81+
3. **Ease of Use**: A single post-deployment script handles table creation and environment configuration, simplifying deployment and management.
8282
4. **Security**: SSL-enabled connections and secure credential handling ensure data protection.
8383

8484

scripts/data_scripts/azure_credential_utils.py

Lines changed: 0 additions & 48 deletions
This file was deleted.

scripts/data_scripts/create_postgres_tables.py

Lines changed: 0 additions & 91 deletions
This file was deleted.

scripts/run_create_table_script.sh

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)