|
@@ -23,7 +23,7 @@
|
|
```
|
|
```
|
|
cd ~
|
|
cd ~
|
|
```
|
|
```
|
|
- 1. Make a new directory `Installs` using the following command:
|
|
|
|
|
|
+ 1. Make a new directory `Installs` using the following command
|
|
```
|
|
```
|
|
mkdir Installs
|
|
mkdir Installs
|
|
```
|
|
```
|
|
@@ -35,7 +35,7 @@
|
|
```
|
|
```
|
|
source ~/Installs/venv/bin/activate
|
|
source ~/Installs/venv/bin/activate
|
|
```
|
|
```
|
|
-2. Installing `Java`
|
|
|
|
|
|
+1. Installing `Java`
|
|
1. Check if Java is installed in your system. If the command below throws an error, refer to this [documentation](https://www.java.com/download/ie_manual.jsp)
|
|
1. Check if Java is installed in your system. If the command below throws an error, refer to this [documentation](https://www.java.com/download/ie_manual.jsp)
|
|
```
|
|
```
|
|
java -version
|
|
java -version
|
|
@@ -46,34 +46,38 @@
|
|
```
|
|
```
|
|
cd ~
|
|
cd ~
|
|
```
|
|
```
|
|
-1. Make a new directory `Code` by using the following command:
|
|
|
|
|
|
+1. Make a new directory `Code` by using the following command
|
|
```
|
|
```
|
|
mkdir Code
|
|
mkdir Code
|
|
```
|
|
```
|
|
-1. Pull the current repository by entering the following command:
|
|
|
|
|
|
+1. Enter into the `Code` directory by using the following command
|
|
|
|
+ ```
|
|
|
|
+ cd Code
|
|
|
|
+ ```
|
|
|
|
+1. Pull the current repository by entering the following command
|
|
```
|
|
```
|
|
git pull gogs@git.fafadiatech.com:harsh/pdf_parser.git
|
|
git pull gogs@git.fafadiatech.com:harsh/pdf_parser.git
|
|
```
|
|
```
|
|
|
|
|
|
### Running the docker file:
|
|
### Running the docker file:
|
|
1. Launch the terminal.
|
|
1. Launch the terminal.
|
|
-2. Change the directory to the docker file by the following command.
|
|
|
|
|
|
+1. Change the directory to the docker file by the following command.
|
|
```
|
|
```
|
|
cd ~/Code/pdf_parser/docker/
|
|
cd ~/Code/pdf_parser/docker/
|
|
```
|
|
```
|
|
-3. Check if ["docker"](https://docs.docker.com/engine/install/) is installed in your machine using the command below.
|
|
|
|
|
|
+1. Check if ["docker"](https://docs.docker.com/engine/install/) is installed in your machine using the command below.
|
|
```
|
|
```
|
|
docker ps
|
|
docker ps
|
|
```
|
|
```
|
|
-4. Pull the required images using the following command.
|
|
|
|
|
|
+1. Pull the required images using the following command.
|
|
```
|
|
```
|
|
docker pull docker-compose.yml
|
|
docker pull docker-compose.yml
|
|
```
|
|
```
|
|
-5. Build the docker volume using the following command.
|
|
|
|
|
|
+1. Build the docker volume using the following command.
|
|
```
|
|
```
|
|
docker-compose build
|
|
docker-compose build
|
|
```
|
|
```
|
|
-6. Activate a new screen and activate the containers using the following commands.
|
|
|
|
|
|
+1. Activate a new screen and activate the containers using the following commands.
|
|
```
|
|
```
|
|
screen -S docker
|
|
screen -S docker
|
|
docker-compose up
|
|
docker-compose up
|