Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ca-tango-db-cache-mgr
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
puma
server
ca-tango-db-cache-mgr
Commits
25aec344
Commit
25aec344
authored
3 years ago
by
Giacomo Strangolino
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
00abd8ed
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+54
-0
54 additions, 0 deletions
README.md
with
54 additions
and
0 deletions
README.md
+
54
−
0
View file @
25aec344
# ca-tango-db-cache-mgr
# ca-tango-db-cache-mgr
## Installation
### Dependencies
#### hiredis
Either install from package manager or
> git clone https://github.com/redis/hiredis.git
> cd hiredis
> mkdir build && cd build
> cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/hiredis
> make -j9 && sudo make install
#### redis-plus-plus
> git clone https://github.com/sewenew/redis-plus-plus
> cd redis-plus-plus
> mkdir build && cd build
If redis has been manually installed in /usr/local/hiredis, then execute
> cmake .. -DCMAKE_INSTALL_PREFIX=/opt/redis-plus-plus -DCMAKE_PREFIX_PATH=/opt/hiredis -DHIREDIS_HEADER=/opt/redis-plus-plus/include
otherwise the options -DCMAKE_PREFIX_PATH and HIREDIS_HEADER is not necessary.
We experienced that CMAKE_PREFIX_PATH is not enough to let redis plus plus include hiredis files
correctly, and we need to add also -DHIREDIS_HEADER.
> make -j9
> sudo make install
### service Installation
Assuming the paths mentioned above were used to install hiredis and redis-plus-plus:
> git clone https://gitlab.elettra.eu/puma/server/ca-tango-db-cache-mgr
Adjust PKG_CONFIG_PATH according to the caserver-lib, hiredis, redis-plus-plus, cumbia-libs
installation paths. For example:
> export PKG_CONFIG_PATH=/opt/caserver-lib/lib/pkgconfig:/opt/hiredis/lib/pkgconfig:/opt/redis-plus-plus/lib/pkgconfig:$PKG_CONFIG_PATH
*nlohmann-json*
dependency is also required. You can place a copy in the
*subprojects*
directory if the
package is not installed system-wide
### request syntax
### request syntax
> curl -v http://woody.elettra.eu:9296 -d $'{"srcs":[{"src":"test/device/1/double_scalar"}]}'
> curl -v http://woody.elettra.eu:9296 -d $'{"srcs":[{"src":"test/device/1/double_scalar"}]}'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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