-
Notifications
You must be signed in to change notification settings - Fork 0
Local Execution with Docker
rmotta.net:~# edited this page Apr 2, 2024
·
3 revisions
If you prefer to run UnchainedText locally using Docker, follow these steps:
Ensure you have Docker installed on your machine.
Create the necessary folder structure for the project to understand the paths:
folder
├── data
│ ├── pdf
│ │ └── file_to_convert.pdf
│ └── raw
Pull the UnchainedText Docker image from Docker Hub:
docker pull rmottanet/unchainedtextRun the Docker container with the following command:
docker run -it -e INPUT_FOLDER=/app/data/pdf -e OUTPUT_FOLDER=/app/data/raw -v $(pwd)/data/pdf:/app/data/pdf -v $(pwd)/data/raw:/app/data/raw rmottanet/unchainedtextThis will convert the PDF files located in /data/pdf and save the extracted text files in /data/raw.
These instructions guide for users to run UnchainedText locally using Docker, including setting up the required folder structure and executing the Docker commands. Let me know if you need further assistance or additional sections for the Wiki.