-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
107 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
# belbio secrets | ||
# belbio secrets - added to config['secrets'] | ||
|
||
# Location of this file can be found in one of the following locations | ||
# first found is the one that is used | ||
# - ./belbio_secrets.yml (just a regular file in the local directory | ||
# or any parent directory) | ||
# - ~/.belbio_secrets (a dotfile in the home directory) | ||
|
||
|
||
bel_api: | ||
arangodb_password: '' | ||
shared_secret: testme # shared secret to validate JWT token | ||
servers: | ||
arangodb_password: '' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
Configuration | ||
=============== | ||
|
||
All of the BELbio tools share the same configuration files. There are separate sections for configuration that is specific to a particular application or tool (e.g. bel_api, bel_resources or bel python package). | ||
|
||
Location | ||
------------ | ||
|
||
Get first belbio_conf.{yml|yaml} and belbio_secrets.{yml|yaml} files in: | ||
1. current dir or parent directories starting with immediate parent of current dir | ||
2. OR | ||
3. ~/.belbio_{conf|secrets} (dotfiles in home directory) | ||
|
||
Download example files from: | ||
|
||
* `BELBio Conf <https://raw.githubusercontent.com/belbio/bel/master/belbio_conf.yml.example>`_ | ||
* `BELBio Secrets <https://raw.githubusercontent.com/belbio/bel/master/belbio_secrets.yml.example>`_ | ||
|
||
Main Configuration File | ||
-------------------------- | ||
|
||
.. include:: ../../belbio_conf.yml.example | ||
:code: yaml | ||
|
||
Secrets Configuration File | ||
----------------------------- | ||
|
||
.. include:: ../../belbio_secrets.yml.example | ||
:code: yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters