Skip to content

Commit 3539f67

Browse files
Merge pull request #307 from microsoft/psl-githubaction
docs: added file NON_DEVCONTAINER_SETUP.md and changed path of resources.bicep file
2 parents 855c397 + 3b410c1 commit 3539f67

File tree

2 files changed

+57
-2
lines changed

2 files changed

+57
-2
lines changed

docs/NON_DEVCONTAINER_SETUP.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
[Back to *Chat with your data* README](../README.md)
2+
3+
# Non-DevContainer Setup
4+
5+
If you are unable to run this accelerator using a DevContainer or in GitHub CodeSpaces, then you will need to install the following prerequisites on your local machine.
6+
7+
- A code editor. We recommend [Visual Studio Code](https://code.visualstudio.com/), with the following extensions:
8+
- [Azure Functions](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurefunctions)
9+
- [Azure Tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-node-azure-pack)
10+
- [Bicep](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-bicep)
11+
- [Pylance](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance)
12+
- [Python](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
13+
- [Teams Toolkit](https://marketplace.visualstudio.com/items?itemName=TeamsDevApp.ms-teams-vscode-extension) **Optional**
14+
- [Python 3.11](https://www.python.org/downloads/release/python-3119/)
15+
- [Node.js LTS](https://nodejs.org/en)
16+
- [Azure Developer CLI](https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/install-azd)
17+
- [Azure Functions Core Tools](https://docs.microsoft.com/en-us/azure/azure-functions/functions-run-local)
18+
19+
## Setup
20+
21+
1. Review the contents of [.devcontainer/setupEnv.sh](../.devcontainer/setupEnv.sh) and then run it:
22+
23+
```bash
24+
.devcontainer/setupEnv.sh
25+
```
26+
27+
1. Select the Python interpreter in Visual Studio Code:
28+
29+
- Open the command palette (`Ctrl+Shift+P` or `Cmd+Shift+P`).
30+
- Type `Python: Select Interpreter`.
31+
- Select the Python 3.11 environment created by Poetry.
32+
33+
### Running the sample using the Azure Developer CLI (azd)
34+
35+
The Azure Developer CLI (`azd`) is a developer-centric command-line interface (CLI) tool for creating Azure applications.
36+
37+
1. Log in to Azure using `azd`:
38+
39+
```
40+
azd auth login
41+
```
42+
43+
1. Execute the `azd init` command to initialize the environment and enter the solution accelerator name when prompted:
44+
45+
```
46+
azd init -t Multi-Agent-Custom-Automation-Engine-Solution-Accelerator
47+
```
48+
49+
1. Run `azd up` to provision all the resources to Azure and deploy the code to those resources.
50+
51+
```
52+
azd up
53+
```
54+
55+
> Select your desired `subscription` and `location`. Wait a moment for the resource deployment to complete, click the website endpoint and you will see the web app page.

next-steps.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ To troubleshoot any issues, see [troubleshooting](#troubleshooting).
1717

1818
### Configure environment variables for running services
1919

20-
Environment variables can be configured by modifying the `env` settings in [resources.bicep](./infra/resources.bicep).
20+
Environment variables can be configured by modifying the `env` settings in [resources.bicep](./infra/old/resources.bicep).
2121
To define a secret, add the variable as a `secretRef` pointing to a `secrets` entry or a stored KeyVault secret.
2222

2323
### Configure CI/CD pipeline
@@ -42,7 +42,7 @@ To describe the infrastructure and application, `azure.yaml` along with Infrastr
4242
- modules/ # Library modules
4343
```
4444
45-
The resources declared in [resources.bicep](./infra/resources.bicep) are provisioned when running `azd up` or `azd provision`.
45+
The resources declared in [resources.bicep](./infra/old/resources.bicep) are provisioned when running `azd up` or `azd provision`.
4646
This includes:
4747

4848

0 commit comments

Comments
 (0)