All codes related to pdf parsing.
Harsh Parikh b452f5b12e added dockerisation instructions | 2 éve | |
---|---|---|
complaints | 2 éve | |
docker | 2 éve | |
expert_resume | 2 éve | |
.gitignore | 2 éve | |
LICENSE | 2 éve | |
README.md | 2 éve |
virtual environment
.
Go to the home directory by typing the following command.
cd ~
Installs
using the following command:
bash
mkdir Installs
Create a virtual environment venv
python3 -mvenv venv
bash
source ~/Installs/venv/bin/activate
Setting up apache-tika
Enter the following command to go to the base directory:
cd ~
bash
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
bash
java -jar {your tika server}
Enter the following command to go to the base directory:
cd ~
Code
by using the following command:
bash
mkdir Code
Pull the current repository by entering the following command:
git pull gogs@git.fafadiatech.com:harsh/pdf_parser.git
bash
cd ~/Code/pdf_parser/docker/
Check if docker is installed in your machine using the command below. If it throws an error, refer to this documentation
docker ps
bash
docker pull docker-compose.yml
Build the docker volume using the following command.
docker-compose build
bash
screen -S docker
docker-compose up