18 lines
361 B
Markdown
18 lines
361 B
Markdown
|
# GoFotoBox
|
||
|
|
||
|
Zum kompilieren folgende Go-Abhängigkeiten installieren:
|
||
|
- `go get github.com/gorilla/mux`
|
||
|
|
||
|
Kompilieren:
|
||
|
`$env:GOOS="linux"; $env:GOARCH="arm"; go build -o fbox.arm`
|
||
|
|
||
|
Beispiel config.json:
|
||
|
```
|
||
|
{
|
||
|
"Host":"http://127.0.0.1",
|
||
|
"Port":"8000",
|
||
|
"Template":"default",
|
||
|
"MQTTServer": "127.0.0.1",
|
||
|
"MQTTPort": 8080
|
||
|
}
|
||
|
```
|