Skip to content
Snippets Groups Projects
Commit 891aaed9 authored by Martin Vogel's avatar Martin Vogel
Browse files

refactor(docu): update readmes

parent df7c4d11
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,11 @@ _The following steps show how to get the SDK running_
./mvnw clean install -DskipTests
```
5. Enter your API keys and references to your private decryption key in `config.yml`
6. Provide config via environment variable ``FIT_CONNECT_CONFIG`` or load the config with
````java
var config = ApplicationConfigLoader.loadConfig("absolute/path/to/config.yml");
var senderClient = ClientFactory.senderClient(config);
````
<p align="right">(<a href="#top">back to top</a>)</p>
......
......@@ -12,7 +12,7 @@ The sdk comes with a commandline client to be able to use the sdk without any co
2. Windows: ``set FIT_CONNECT_CONFIG=C:\Path\To\config.yml``
2. Initialize client via ApplicationConfigLoader:
````java
var config = ApplicationConfigLoader.loadConfig(Path.of("absolute/path/to/config.yml"));
var config = ApplicationConfigLoader.loadConfig("absolute/path/to/config.yml");
var senderClient = ClientFactory.senderClient(config);
````
5. run client with ``java -jar client-VERSION.jar [COMMAND] [OPTIONS]``
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment