### Dependencies
-- Install and setup [Go](https://golang.org/doc/install) version 1.7 or
+- Install and setup [Go](https://golang.org/doc/install) version 1.8 or
higher to compile this tool.
make install
```
+> **NOTE**: To cross build for example for Windows, just execute:
+```bash
+export GOOS=windows
+export GOARCH=amd64
+make all
+make package
+```
+
## How to run
## Configuration
```json
{
"httpPort": "http port of agent REST interface",
+ "logsDir": "directory to store logs (eg. syncthing output)",
"syncthing": {
"binDir": "syncthing binaries directory (use xds-agent executable dir when not set)",
"home": "syncthing home directory (usually .../syncthing-config)",
- "gui-address": "syncthing gui url (default http://localhost:8384)"
+ "gui-address": "syncthing gui url (default http://localhost:8384)",
+ "gui-apikey": "syncthing api-key to use (default auto-generated)"
}
}
```