Skip to content
Snippets Groups Projects
Commit 1cef4b4e authored by Tommy Persson's avatar Tommy Persson
Browse files

Work on development environment.

parent bc5d2cd4
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,10 @@ Get the waraps repo:
```bash
git clone git@gitlab.liu.se:lrs/waraps.git
```
or if you need to specify the key:
```bash
GIT_SSH_COMMAND='ssh -i ~/.ssh/wara_deploy -o IdentitiesOnly=yes' git clone git@gitlab.liu.se:lrs/waraps.git
```
Put the script directory of the waraps repo in your PATH plus add
some variables that are needed. For example in .bashrc:
......
#!/bin/bash
# -e DISPLAY=unix${DISPLAY}\
if [[ $(lsb_release -rs) == "18.04" ]]; then
docker run \
--network host \
......@@ -7,7 +9,7 @@ docker run \
--ipc=host \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v /tmp:/exttmp \
-e DISPLAY=unix${DISPLAY}\
-e DISPLAY=unix${DISPLAY}\
-e ROS_HOSTNAME=localhost \
--rm -it --name waradevel gitlab.liu.se:5000/lrs/waraps_docker_images/waraps-melodic:devel "$@"
fi
......@@ -19,7 +21,7 @@ docker run \
--ipc=host \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v /tmp:/exttmp \
-e DISPLAY=unix${DISPLAY}\
-e DISPLAY=${DISPLAY}\
-e ROS_HOSTNAME=localhost \
--rm -it --name waradevel gitlab.liu.se:5000/lrs/waraps_docker_images/waraps-noetic:devel "$@"
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment