Back to Chat with your data README
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.
- A code editor. We recommend Visual Studio Code, with the following extensions:
- Python 3.11
- Node.js LTS
- Azure Developer CLI
- Azure Functions Core Tools
-
Review the contents of .devcontainer/setupEnv.sh and then run it:
.devcontainer/setupEnv.sh
-
Select the Python interpreter in Visual Studio Code:
- Open the command palette (
Ctrl+Shift+P
orCmd+Shift+P
). - Type
Python: Select Interpreter
. - Select the Python 3.11 environment created by Poetry.
- Open the command palette (
The Azure Developer CLI (azd
) is a developer-centric command-line interface (CLI) tool for creating Azure applications.
-
Log in to Azure using
azd
:azd auth login
-
Execute the
azd init
command to initialize the environment and enter the solution accelerator name when prompted:azd init -t chat-with-your-data-solution-accelerator
-
Run
azd up
to provision all the resources to Azure and deploy the code to those resources.azd up
Select your desired
subscription
andlocation
. Wait a moment for the resource deployment to complete, click the website endpoint and you will see the web app page.