
> **Reference** — instructions for setting up the Roku SDK to build and
> sideload the `rokuApp/` channel. See `rokuApp/README.md` for app-specific notes.

# Roku Developer Environment Setup

## Requirements
- Roku device
- Roku developer account
- local computer (Windows / Mac / Linux)

## Enable Developer Mode
On the Roku remote press:

```text
Home
Home
Home
Up
Up
Right
Left
Right
Left
Right
```

Enable **Developer Mode**.

The device will display an address like:

`http://<roku-ip>`

## Install Roku Channel Locally
1. Zip the Roku project:
   `roku-channel.zip`
2. Open browser:
   `http://<roku-ip>`
3. Upload the zip file.

The app installs immediately on the device.

## Basic Roku Playback Code
```brightscript
video = CreateObject("roSGNode", "Video")

content = {
    streamFormat: "hls"
    url: "https://media.yourchurch.org/hls/channel.m3u8"
}

video.content = content
video.control = "play"
```
