Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ASTRI DAQ
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BIAS
DAQs
ASTRI DAQ
Commits
a2a9ea20
Commit
a2a9ea20
authored
9 months ago
by
Valerio Pastore
Browse files
Options
Downloads
Patches
Plain Diff
update readme
parent
f8085ecc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+8
-9
8 additions, 9 deletions
README.md
with
8 additions
and
9 deletions
README.md
+
8
−
9
View file @
a2a9ea20
### Prerequisites
```
$ yum install -y git cmake3 boost-devel librdkafka-devel openssl-devel redis hiredis-devel json-devel devtoolset-12 yaml-cpp-devel mysql-community-server mysql-connector-c++-devel
$ dnf localinstall https://dev.mysql.com/get/mysql80-community-release-el9-5.noarch.rpm
$ dnf install -y gcc g++ git cmake boost-devel librdkafka-devel openssl-devel redis hiredis-devel json-devel yaml-cpp-devel mysql-community-server mysql-connector-c++-devel
$ echo 'export BIAS_PREFIX=$HOME/BIAS' >> ~/.bashrc
$ echo 'export PATH="/opt/rh/devtoolset-12/root/usr/bin:$PATH"' >> ~/.bashrc
or use $scl enable devtoolset-12 'bash'
$ source $HOME/.bashrc
```
### Clone and download submodules
```
$
git clone https://www.ict.inaf.it/gitlab/bias/daqs/astri-daq.git
$
cd astri-daq
$ git submodule update --recursive --init
$
'cd to the project dir'
$
git submodule update --init --recursive
```
### Prepare BIAS db
```
Execute 'createBiasDB.sql' script
$ mysql -u
root
-p
$ mysql -u
bias
-p
source ./createBiasDB.sql;
```
...
...
@@ -23,12 +22,12 @@ $ mysql -u root -p
```
$ mkdir build
$ cd build
$ cmake
3
-DCMAKE_INSTALL_PREFIX=$BIAS_PREFIX ..
$ cmake -DCMAKE_INSTALL_PREFIX=$BIAS_PREFIX ..
$ make all
$ make install
```
### RUN
THE RECEIVER
### RUN
```
$ cd $BIAS_PREFIX/bin
$ ./AstriDAQ.lnx
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment