... | @@ -26,12 +26,14 @@ This command will generate and run a Docker Container named *vp-tool* in interac |
... | @@ -26,12 +26,14 @@ This command will generate and run a Docker Container named *vp-tool* in interac |
|
To start the server, use the command prompt inside the running Container and execute the following command:
|
|
To start the server, use the command prompt inside the running Container and execute the following command:
|
|
|
|
|
|
~~~
|
|
~~~
|
|
python vp_service.py
|
|
python vp_service.py DB_IP DB_PORT
|
|
~~~
|
|
~~~
|
|
|
|
|
|
|
|
,where DB_IP= <IP of the MongoDB> and DB_PORT= <PORT of the MongoDB>.
|
|
|
|
|
|
These two steps could embed into the following one:
|
|
These two steps could embed into the following one:
|
|
~~~
|
|
~~~
|
|
sudo docker run -it --name vp-tool -p 5002:5002 iliakalo/vp-tool bash python vp_service.py
|
|
sudo docker run -it --name vp-tool -p 5002:5002 iliakalo/vp-tool bash python vp_service.py DB_IP DB_PORT
|
|
~~~
|
|
~~~
|
|
|
|
|
|
|
|
|
... | @@ -47,7 +49,7 @@ Having the VP Container already deployed on your local machine, it can be starte |
... | @@ -47,7 +49,7 @@ Having the VP Container already deployed on your local machine, it can be starte |
|
|
|
|
|
~~~
|
|
~~~
|
|
sudo docker start vp-tool
|
|
sudo docker start vp-tool
|
|
sudo docker exec -it vp-tool bash python vp_service.py
|
|
sudo docker exec -it vp-tool bash python vp_service.py DB_IP DB_PORT
|
|
~~~
|
|
~~~
|
|
|
|
|
|
|
|
|
... | | ... | |