Skip to content

Commit

Permalink
Explain token environment variable #206
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-rli committed Jul 25, 2023
1 parent 9cbc9f2 commit a45bd82
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/tutorials/02_oep-client/04_client_cli_upload.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,24 @@ This tutorials will enable you to:

## Setup

For the setup commands to work, you need to set your personal OEP API token as an environment variable. Alternatively, you can assign your token directly to the token variable. You can find the token on your OEP profile page.

- Linux

```shell
token=$OEP_API_TOKEN
table=tutorial_example_table_$RANDOM
topic=sandbox
token=$OEP_API_TOKEN
example_data=https://raw.githubusercontent.com/OpenEnergyPlatform/academy/production/docs/data/tutorial_example_table.data.csv
example_metadata=https://raw.githubusercontent.com/OpenEnergyPlatform/academy/production/docs/data/tutorial_example_table.metadata.json
```

- Windows

```cmd
SET token=%OEP_API_TOKEN%
SET table=tutorial_example_table_%RANDOM%
SET topic=sandbox
SET token=%OEP_API_TOKEN%
SET example_data=https://raw.githubusercontent.com/OpenEnergyPlatform/academy/production/docs/data/tutorial_example_table.data.csv
SET example_metadata=https://raw.githubusercontent.com/OpenEnergyPlatform/academy/production/docs/data/tutorial_example_table.metadata.json
```
Expand Down

0 comments on commit a45bd82

Please sign in to comment.