All codes related to pdf parsing.
Harsh Parikh 4024f01882 fixed formatting issue | 2 anos atrás | |
---|---|---|
complaints | 2 anos atrás | |
docker | 2 anos atrás | |
expert_resume | 2 anos atrás | |
.gitignore | 2 anos atrás | |
LICENSE | 2 anos atrás | |
README.md | 2 anos atrás |
virtual environment
.
Go to the home directory by typing the following command.
cd ~
Make a new directory Installs
using the following command:
mkdir Installs
Create a virtual environment venv
python3 -mvenv venv
Activate the virtual environment:
source ~/Installs/venv/bin/activate
Setting up apache-tika
Enter the following command to go to the base directory:
cd ~
Download the apache-tika server using the following command:
wget https://www.apache.org/dyn/closer.lua/tika/1.28.4/tika-server-1.28.4.jar
Check if java is installed in your machine by running the following command:
java --version
If java is not installed in your local machine, please refer to this documentation.
Running the tika server
Create a new screen called apache-tika
screen -S apache-tika
Enter the following command to run the tika server:
java -jar {your tika server}
Enter the following command to go to the base directory:
cd ~
Make a new directory Code
by using the following command:
mkdir Code
Pull the current repository by entering the following command:
git pull gogs@git.fafadiatech.com:harsh/pdf_parser.git
Change the directory to the docker file by the following command. `` cd ~/Code/pdf_parser/docker/
3. Check if docker is installed in your machine using the command below. If it throws an error, refer to this [documentation](https://docs.docker.com/engine/install/)
``
docker ps
Pull the required images using the following command. `` docker pull docker-compose.yml
5. Build the docker volume using the following command.
``
docker-compose build
Activate a new screen and activate the containers using the following commands.
screen -S docker
docker-compose up
`