-
Notifications
You must be signed in to change notification settings - Fork 20
Datman's Environment Variables
Dawn E. Smith edited this page May 31, 2018
·
3 revisions
Some environment variables need to be added to your shell to run certain Datman scripts. You can add these to your shell with export VARNAME=VARVALUE
for each one. For convenience you could also define a bash script full of these export commands and source the script instead or set up an environment module.
DM_CONFIG: Should be the full path to the site-wide datman config file.
DM_SYSTEM: Should be set to a system name from the SystemSettings in the datman site config file
If you're running any script that interacts with XNAT you must set:
XNAT_USER: The user name to log in with
XNAT_PASS: The password to use
If you're interacting with a redcap server you should set REDCAP_TOKEN to your token.