- Make sure you have your NEEMs generate.
- Docker installed on your computer with support for Linux containers.
- ROS is installed. See https://www.ros.org .
- Knowrob is installed. See http://knowrob.org/installation.
- A running Mongo DB instance.
- Start a roscore
roscore
- To execute narrative2vec for the first time just execute the following command:
docker run --network host --name narrative2vec --mount type=bind,source=<path-to-the-local-neems-storage>,target=/neems --mount type=bind,source=<path-to-the-local-csv-storage>,target=/csv --env ROS_HOSTNAME=<ROS_CORE_IP> --env NEEM_HOME=<path-to-the-local-neems-storage> --env ROS_IP=<ROS_CORE_IP> --env ROS_MASTER_URI=http://<ROS_CORE_IP>:11311 codeiai/narrative2vec:1.0.0
- If you started the container once with the "docker run" command, please use the following command for future usage:
docker start narrative2vec --attach