Commit
·
09eaf22
1
Parent(s):
bbb25bf
i have nothing to say
Browse files- .gitignore +3 -0
- README.md +25 -3
.gitignore
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.env
|
| 2 |
+
__pycache__/
|
| 3 |
+
*.pyc
|
README.md
CHANGED
|
@@ -8,8 +8,30 @@ sdk_version: 5.33.0
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
short_description: 'MCP-based AI agent for Dolibarr ERP '
|
| 11 |
-
|
| 12 |
-
-
|
|
|
|
| 13 |
---
|
|
|
|
| 14 |
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
short_description: 'MCP-based AI agent for Dolibarr ERP '
|
| 11 |
+
tags:
|
| 12 |
+
- agent-demo-track
|
| 13 |
+
- mcp-server-track
|
| 14 |
---
|
| 15 |
+
# AI-Powered Dolibarr ERP Assistant
|
| 16 |
|
| 17 |
+
This is an AI-powered assistant for Dolibarr ERP system.
|
| 18 |
+
|
| 19 |
+
## Setup
|
| 20 |
+
|
| 21 |
+
1. Fork this Space
|
| 22 |
+
2. Go to Settings > Repository Secrets
|
| 23 |
+
3. Add the following secrets:
|
| 24 |
+
- `OPENAI_API_KEY`: Your OpenAI API key
|
| 25 |
+
- `DOLIBARR_API_KEY`: Your Dolibarr API key
|
| 26 |
+
|
| 27 |
+
## Running Locally
|
| 28 |
+
|
| 29 |
+
To run locally:
|
| 30 |
+
1. Clone this repository
|
| 31 |
+
2. Create a `.env` file with:
|
| 32 |
+
```
|
| 33 |
+
OPENAI_API_KEY=your_openai_key
|
| 34 |
+
DOLIBARR_API_KEY=your_dolibarr_key
|
| 35 |
+
```
|
| 36 |
+
3. Install dependencies: `pip install -r requirements.txt`
|
| 37 |
+
4. Run the app: `python doli4.py`
|