Skip to content
Snippets Groups Projects
Commit 207f991a authored by Mikhail Mineev's avatar Mikhail Mineev
Browse files

Merge branch 'upd15' into 'release-5.1'

instructions updated

See merge request !7
parents d78ccfa3 cbe98f23
No related branches found
No related tags found
1 merge request!7instructions updated
Pipeline #9716821 passed
......@@ -12,27 +12,28 @@ The command line tools are strongly linked with the CrestApi library, thus we su
1. **Clone CrestApi package**:
```shell
git clone https://gitlab.cern.ch/crest-db/CrestApi.git
cd CrestApi
cd <CrestApi directory>
git fetch
git switch release-5.1-CR1
```
You should then install locally the CrestApi lib following the instructions in the readme.
In general you need to prepare an installation directory (if not existing):
In general:
```shell
mkdir $HOME/installed
```
Now you can build the project and install it:
```shell
cd <CrestApi directory>
mkdir build ; cd build
cmake -DCMAKE_INSTALL_PREFIX=$HOME/installed ..
make ; make install
```
2. **Clone CrestCmd package**:
```shell
cd ../../
git clone https://gitlab.cern.ch/crest-db/crest-cmd.git
cd crest-cmd
cd <crest-cmd directory>
git fetch
git switch release-5.1
```
......@@ -44,27 +45,26 @@ The command line tools are strongly linked with the CrestApi library, thus we su
cmake -DCMAKE_PREFIX_PATH=$HOME/installed ..
make
```
5. **Setup**:
4. **Path setup:**:
```shell
source ./CrestApi/setup.sh
export PATH=$PATH:./
```
8. **Set the `CREST_API_URL` variable (CREST Server URL)**:
5. **Set the `CREST_API_URL` variable (CREST Server URL)**:
```bash
export CREST_API_URL=http://crest-j23.cern.ch:8080/api-v5.0
```
*(Or use the setup script):*
```bash
source ../crest-cmd/scripts/crest-setup.sh
```
---
### CREST Command Line Examples
**a.** To get a tag list:
```bash
crestCmd get tagList
```
**b.** To get a tag with the name `"test_MvG3"`:
**a.** To get a tag with the name `"test_MvG3"`:
```bash
crestCmd get tag -n test_MvG3
```
......@@ -79,4 +79,4 @@ The command line tools are strongly linked with the CrestApi library, thus we su
### Additional Documentation
You can find detailed documentation in the [User’s Guide](./doc/crest-cmd-user-guide.md).
It includes descriptions for the `crestImport` and `crestExport` utilities as well.
It includes descriptions for the `crestImport`, `crestExport` and other utilities as well.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment