fixed running of actual app

This commit is contained in:
Dmitriy Kazimirov 2025-04-02 04:16:34 +00:00
parent 034addb234
commit 229fca1544
2 changed files with 13 additions and 3 deletions

View file

@ -29,7 +29,7 @@ COPY tests/unit/ tests/unit/
ADD dummy.txt .
# Set Python path
ENV PYTHONPATH=/app/src
ENV PYTHONPATH=/app
# Command to run the API
CMD ["python", "src/api/app.py"]

View file

@ -1,9 +1,9 @@
# What it IS?
## TypeMind Plugin: EPUB/PDF/TXT Search Integration
A plugin for [TypeMind](https://docs.typingmind.com/plugins/build-a-typingmind-plugin) that mimics the **WebSearch** feature but focuses on retrieving books/documents. Users can query, e.g., *"Find me books about Hecate"*, and the plugin returns **clickable links** to relevant files (EPUB, PDF, TXT).
A plugin for [TypeMind](https://docs.typingmind.com/plugins/build-a-typingmind-plugin) that mimics the **WebSearch** feature but focuses on retrieving books/documents. Users can query, e.g., *"Find me books about Hecate"*, and the plugin returns **clickable links** to relevant files (EPUB, PDF, TXT)
and server-side support code to use it
### Features
- **File Formats**: Supports EPUB, PDF, and TXT (assumed compatibility).
@ -152,6 +152,16 @@ git pull origin main
docker-compose up -d --build
```
## Running in dev
- tests
```bash
./scripts/run_tests.sh
```
- app (and not deteach)
```bash
docker-compose up --build
```
## Troubleshooting
### Common Issues