Update README.md to clarify installation steps and add LibreOffice dependency

This commit is contained in:
oliviamn 2025-05-24 14:55:04 +08:00
parent 5abfa4998d
commit caa4d6d2ef
2 changed files with 9 additions and 3 deletions

View File

@ -35,14 +35,20 @@ doc-processing-app
cd doc-processing-app
```
2. Install the required dependencies:
2. Install LibreOffice (required for document processing):
```
brew install libreoffice
```
3. Install the required dependencies:
```
pip install -r requirements.txt
pip install -U magic-pdf[full]
```
3. Configure the application by editing the `src/config/settings.py` file to set the paths for the object storage and target directory.
4. Configure the application by editing the `src/config/settings.py` file to set the paths for the object storage and target directory.
4. Create a `.env` file based on the `.env.example` file to set up necessary environment variables.
5. Create a `.env` file based on the `.env.example` file to set up necessary environment variables.
## Usage

Binary file not shown.