Spaces:
Sleeping
Sleeping
Commit ·
4f96ac7
1
Parent(s): a9cb208
feat: Add .env.example and update README for environment setup and application paths.
Browse files- .env.example +8 -0
- README.md +3 -3
.env.example
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Azure OpenAI
|
| 2 |
+
AZURE_OPENAI_ENDPOINT=
|
| 3 |
+
AZURE_OPENAI_API_KEY=
|
| 4 |
+
AZURE_OPENAI_DEPLOYMENT_NAME=
|
| 5 |
+
|
| 6 |
+
# MCP Server
|
| 7 |
+
MCP_SERVER_PORT=
|
| 8 |
+
LOG_LEVEL=
|
README.md
CHANGED
|
@@ -34,7 +34,7 @@ An agentic AI application that acts as a DevOps assistant for Azure. It uses the
|
|
| 34 |
```
|
| 35 |
|
| 36 |
2. **Configure Environment**:
|
| 37 |
-
Copy `.env.
|
| 38 |
```bash
|
| 39 |
AZURE_OPENAI_ENDPOINT=...
|
| 40 |
AZURE_OPENAI_API_KEY=...
|
|
@@ -50,12 +50,12 @@ An agentic AI application that acts as a DevOps assistant for Azure. It uses the
|
|
| 50 |
4. **Run the Application**:
|
| 51 |
Start the API:
|
| 52 |
```bash
|
| 53 |
-
uv run python src/
|
| 54 |
```
|
| 55 |
|
| 56 |
Start the UI (in a separate terminal):
|
| 57 |
```bash
|
| 58 |
-
uv run python src/
|
| 59 |
```
|
| 60 |
|
| 61 |
## Usage
|
|
|
|
| 34 |
```
|
| 35 |
|
| 36 |
2. **Configure Environment**:
|
| 37 |
+
Copy `.env.example` to `.env` (or create it) and add your Azure OpenAI keys.
|
| 38 |
```bash
|
| 39 |
AZURE_OPENAI_ENDPOINT=...
|
| 40 |
AZURE_OPENAI_API_KEY=...
|
|
|
|
| 50 |
4. **Run the Application**:
|
| 51 |
Start the API:
|
| 52 |
```bash
|
| 53 |
+
uv run python src/backend/app.py
|
| 54 |
```
|
| 55 |
|
| 56 |
Start the UI (in a separate terminal):
|
| 57 |
```bash
|
| 58 |
+
uv run python src/frontend/app.py
|
| 59 |
```
|
| 60 |
|
| 61 |
## Usage
|