@@ -25,16 +25,18 @@ The Stream Server is written in [Go](https://golang.org). It uses [Go Modules](h
The `cmd/` directory contains only the `stream-server` command. The code of the server is in `internal/server` and the static files for the playback website in `internal/static`.
`pkg/` contains project independent code to access the Twitch API. This separation is done in accordance to the [Standard Go Project Layout](https://github.com/golang-standards/project-layout).
Local development (requires go 1.12 and a Twitch client id):
``` bash tab="bash" linenums="1"
env TWITCH_CLIENT_ID="your client id here" go run ./cmd/stream-server
```
``` PowerShell tab="PowerShell" linenums="1"
$env:TWITCH_CLIENT_ID="your client id here"
go run .\cmd\stream-server
```
Local development (requires go 1.13 and a Twitch client id):
=== "bash"
``` bash linenums="1"
env TWITCH_CLIENT_ID="your client id here" go run ./cmd/stream-server