-
Notifications
You must be signed in to change notification settings - Fork 7
Deployment
Dmitry Romanov edited this page Apr 26, 2018
·
9 revisions
Here is a very brief instruction for it (for bash shell):
git clone https://github.com/JeffersonLab/rcdb.git
cd rcdb
source environment.bash
# now to check that everything works, test connect to HallD RCDB
export RCDB_CONNECTION=mysql://[email protected]/rcdb
rcnd
rcnd should answer something like:
Runs total: 10462
Last run : 42387
Condition types total: 53
Conditions:
<list of conditions>
More information is in Installation chapter
```bash
mysql -u root -p
```
```mysql
CREATE SCHEMA rcdb;
CREATE USER 'rcdb'@'localhost';
GRANT ALL PRIVILEGES ON rcdb.* TO 'rcdb'@'localhost';
```
And fill in a minimal set of common conditions.
$RCDB_HOME/python/
Getting started & basic usage:
- Installation
- Select values tutorial (python)
- Query syntax
- Add data (python)
- CLI Basics
RCDB Explained:
- Connection
- DB and APIs structure
- SQL examples
- Creating condition types
- Adding condition values
- Saving files
- SQLAlchemy
- Logging
- Performance
Command line tools:
DAQ: