Skip to content

Commit

Permalink
fix: add in README setup info for the auth token
Browse files Browse the repository at this point in the history
  • Loading branch information
LazarIliev committed Sep 15, 2022
1 parent 1c36d59 commit e095ebf
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,17 @@ is the bridge used to easy access Barclays APIs.

During the hackaton contracts and states can be created in `contracts` module and flows can be
created in the `workflows` module.

## Getting started

In order to operate with provided bridge functionalities, you should use the provided auth token for your team and set it as a system environment variable. (edited)

To be able to use the bridge with the configured token `val AUTH_TOKEN: String = System.getenv("BARCLAYS_AUTH_TOKEN")`.

In Linux you can set it into you `.profile` file under the home directory like that:

`export BARCLAYS_AUTH_TOKEN="the-actual-token"`

In Windows you can go through the menu to Environment Variable and set it from there.

https://docs.oracle.com/en/database/oracle/machine-learning/oml4r/1.5.1/oread/creating-and-modifying-environment-variables-on-windows.html#GUID-DD6F9982-60D5-48F6-8270-A27EC53807D0

0 comments on commit e095ebf

Please sign in to comment.