Commit b49ec445 authored by Valentino Lauciani's avatar Valentino Lauciani
Browse files

Update README.md

parent 15fd8226
# Start INGV Docker for SeisComP3
# Start Docker for SeisGram2k
## Install SeisGram2K docker
## Build docker
```
$ git clone git@gitlab.rm.ingv.it:uf/docker_SeisGram2K.git
$ cd docker_SeisGram2K
$ docker build --tag seisgram2k70 .
$ docker run -it seisgram2k70 /bin/bash
```
## Run docker (Mac OSX User)
### XQuartz
Download and install **XQuartz**:
- https://www.xquartz.org
Enable flag: **Preferences** -> **Security** -> **Allow connections from network clients**.
### Docker
Get your IP address and use it to start docker below:
```
$ ifconfig | grep "inet"
. . .
inet 10.180.3.98 netmask 0xfffc0000 broadcast 10.183.255.255
. . .
[valentino@albus 15:15:07 ~/Downloads/SeisGram2K]$
```
Start docker:
```
$ docker run -it --rm -e DISPLAY=<your_ip_address>:0 -v /tmp/.X11-unix:/tmp/.X11-unix seisgram2k70
```
Check **SeisGram2K** version:
```
$ docker run -it --rm -e DISPLAY=<your_ip_address>:0 -v /tmp/.X11-unix:/tmp/.X11-unix seisgram2k70 -version
```
View real-time waveforms:
```
$ docker run -it --rm -e DISPLAY=10.0.4.75:0 -v /tmp/.X11-unix:/tmp/.X11-unix seisgram2k70 -seedlink "hsl1.int.ingv.it:18000#IV_ACER:HH?#1200" -seedlink.groupchannels YES -commands.onread rmean
```
# Contribute
Please, feel free to controbute.
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment