Skip to content

Commit

Permalink
Readme fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mcrowson committed May 3, 2019
1 parent ee5124c commit bbd8efc
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,28 @@ sh make_images.sh
This will update the poster and splash images from the jellyfin-ux repo.

## Testing and Local Deployment
To test and deploy on your Roku device, it must be in [developer mode](https://blog.roku.com/developer/2016/02/04/developer-setup-guide) first. Once there, set two environment variables that make uses.
To test and deploy on your Roku device, it must be in [developer mode](https://blog.roku.com/developer/2016/02/04/developer-setup-guide) first.
Once there, set two environment variables that make uses.

```bash
export ROKU_DEV_TARGET=192.168.1.234
export ROKU_DEV_PASSWORD=aaaa
```

This is the IP address of your roku and the password you set for the rokudev account when you put your device in developer mode.
This is the IP address of your roku and the password you set for the
rokudev account when you put your device in developer mode.

### Testing
Testing is done with the [Rooibos](https://github.com/georgejecook/rooibos/) library. This works by including the tests in the deployment and then looking at telnet for the test results.
Testing is done with the [Rooibos](https://github.com/georgejecook/rooibos/) library.
This works by including the tests in the deployment and then looking at telnet
for the test results. This testing library requires the [Rooibos Preprocessor](https://github.com/georgejecook/rooibosPreprocessor)
to create a few of the helper files used during the tests. This can be installed via:

`make tests` will package up the application and tests and the deploy it to the Roku. Test results can be seen via `telnet ${ROKU_DEV_TARGET} 8085`
```bash
npm install -g rooibos-preprocessor
```

`make test` will package up the application and tests and the deploy it to the Roku. Test results can be seen via `telnet ${ROKU_DEV_TARGET} 8085`

### Deployment
To deploy the application to your local roku run `make install`.
Expand Down

0 comments on commit bbd8efc

Please sign in to comment.