Add readme
This commit is contained in:
42
Readme.md
Normal file
42
Readme.md
Normal file
@@ -0,0 +1,42 @@
|
||||
# Daqbuffer
|
||||
|
||||
DAQ retrieval http API, contains:
|
||||
|
||||
* Retrieval http API to run on the nodes of our facilities (backends).
|
||||
* Proxy to run on data-api.psi.ch for distribution of requests to facilities.
|
||||
|
||||
|
||||
# Build
|
||||
|
||||
Tested on RHEL 7 and 8, CentOS 8.
|
||||
|
||||
If not yet done, see [Setup Toolchain](#setup-toolchain) first.
|
||||
|
||||
Then run in this directory:
|
||||
|
||||
```bash
|
||||
cargo build --release
|
||||
```
|
||||
|
||||
Binary is at: `./target/release/daqbuffer`
|
||||
|
||||
|
||||
# Setup Toolchain
|
||||
|
||||
Install Rust toolchain.
|
||||
Quoting from <https://www.rust-lang.org/tools/install> the official installation method:
|
||||
|
||||
```bash
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||
```
|
||||
|
||||
This specifically requires a verified TLS connection and then executes the installer.
|
||||
|
||||
Installation will by default be done only for your user. No superuser privileges required.
|
||||
|
||||
You should have the commands `cargo` and `rustup` now available in your terminal.
|
||||
|
||||
|
||||
# License
|
||||
|
||||
GNU General Public License version 3 or later.
|
||||
Reference in New Issue
Block a user