diff --git a/Dockerfile b/Dockerfile index 68c0c55..927bab9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file diff --git a/readme.md b/readme.md index 9e68480..3d07cc8 100644 --- a/readme.md +++ b/readme.md @@ -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