Add readme

This commit is contained in:
Dominik Werder
2021-06-30 09:10:19 +02:00
parent 0326aa795a
commit 59bcb64fe0

42
Readme.md Normal file
View 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.