Operational guide for building, running, and troubleshooting this project.
Python interpreter (v3.10+ recommended) — 66% of codebase
Install: Download from python.org or use pyenv
Verify: python --version
JavaScript runtime (v18+ recommended)
Install: Download from nodejs.org or use nvm
Verify: node --version
Notebook environment for running .ipynb files
Install: pip install jupyter
Verify: jupyter --version
Azure command-line interface for deploying Bicep/ARM templates
Install: Download from learn.microsoft.com/cli/azure/install-azure-cli
Verify: az --version
Version control system
Install: Download from git-scm.com
Verify: git --version
Get the source code
git clone https://github.com/Azure-Samples/chat-with-your-data-solution-accelerator.git
cd Azure-Samples-chat-with-your-data-solution-acceleratorUse npm to install project dependencies
npm installBuild the project using npm
# No build script definedStart the application
node dist/index.jsRun the test suite
# No test script definedTest frameworks: pytest
Solution: Delete node_modules and lock file, then reinstall
rm -rf node_modules
rm package-lock.json
npm installSolution: Kill the process using the port or use a different port
# Find process: lsof -i :3000
# Kill: kill -9 <PID>Solution: Ensure .env file exists and is properly configured
cp .env.example .env
# Edit .env with your valuesFor troubleshooting and deeper understanding of the Microsoft technologies used in this project:
- TypeScript:
microsoft_docs_search(query="TypeScript troubleshooting")- Setup:
microsoft_docs_search(query="TypeScript configuration tsconfig")
- Setup:
- Bicep:
microsoft_docs_search(query="Bicep troubleshooting")- Setup:
microsoft_docs_search(query="Bicep overview Azure resource deployment")
- Setup: