Skip to content
README.md 844 B
Newer Older
Valerio Pastore's avatar
Valerio Pastore committed
### INSTALL DEPENDENCIES
```
Install system packages:
   $ su
   # yum install epel-release
   # yum install cmake3
   # yum install devtoolset-11
Valerio Pastore's avatar
Valerio Pastore committed
   # yum install librdkafka-devel
astri's avatar
astri committed
   # yum install hiredis-devel // to be checked
Valerio Pastore's avatar
Valerio Pastore committed
   # yum install boost-devel
Valerio Pastore's avatar
Valerio Pastore committed
   # yum install openssl-devel
Valerio Pastore's avatar
Valerio Pastore committed

```

### CLONE THE REPOSITORY
```
Valerio Pastore's avatar
Valerio Pastore committed
    $ cd $HOME
    $ git clone https://www.ict.inaf.it/gitlab/bias/daqs/astri-daq.git
astri's avatar
astri committed

Download submodules
Valerio Pastore's avatar
Valerio Pastore committed
    $ cd astri-daq
astri's avatar
astri committed
    $ git submodule update --recursive --remote --init
Valerio Pastore's avatar
Valerio Pastore committed
### INSTALL
Valerio Pastore's avatar
Valerio Pastore committed
```
Valerio Pastore's avatar
Valerio Pastore committed
   $ mkdir build
   $ cd build
Valerio Pastore's avatar
Valerio Pastore committed
   $ cmake3 -DCMAKE_INSTALL_PREFIX=$BIAS_PREFIX ..
Valerio Pastore's avatar
Valerio Pastore committed
   $ make all
   $ make install
Valerio Pastore's avatar
Valerio Pastore committed
```

### RUN THE RECEIVER
```
ASTRI_DAQ example:

cd $BIAS_PREFIX/bin
astri's avatar
astri committed
./AstriDAQ.lnx --protocol tcp --ip 127.0.0.1 --port 9003 --provider redis --packet astri_ma
Valerio Pastore's avatar
Valerio Pastore committed
	// .AstriDAQ.lnx --help for help...
```