Skip to content

Commit

Permalink
Update instructions to install using docker
Browse files Browse the repository at this point in the history
  • Loading branch information
SchetininVitaliy committed Oct 17, 2022
1 parent ccff8fb commit 89bee10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ for different studies.
Due to high dependencies on the external packages of various versions, we strongly recommend to use
the docker-image [docker](https://www.docker.com) to deploy ER installation.

1. Install docker desktop on your system: https://www.docker.com/get-started
1. Install docker engine on your system: https://docs.docker.com/engine/install/ubuntu/
2. Follow docker post-installation steps: https://docs.docker.com/engine/install/linux-postinstall/
2. Clone ER repository:

Expand All @@ -55,10 +55,10 @@ docker build --build-arg ER=dev -t er .
4. Run _er_ container, compile updated sources, run simulation:

```
docker run --entrypoint /bin/bash -v /home/vitaliy/er:/opt/er -v /home/vitaliy/er/macro/EXP1904_H7:/opt/run -w /opt/run -e DISPLAY=$DISPLAY -it er
docker run --entrypoint /bin/bash --net=host -v /home/vitaliy/er:/opt/er -v /home/vitaliy/er/macro/EXP1904_H7:/opt/run -w /opt/run -v /tmp/.X11-unix:/tmp/.X11-unix -v $HOME/.Xauthority:/home/jovyan/.Xauthority:rw -e DISPLAY=$DISPLAY -it er
cd /opt/er
mkdir build
cd /build
cd build
export SIMPATH=/opt/FairSoft/
export FAIRROOTPATH=/opt/FairRoot/
cmake ../ -DACCULINNA_GO4=/opt/accdaq/install/
Expand Down

0 comments on commit 89bee10

Please sign in to comment.