7679d4ec5b41319732e7f48c68b5fdd5d037bbc7
David Blume first commit

David Blume authored 4 years ago

1) # dxb Channel
2) 
3) dxb Channel is a test [channel for Roku devices](https://sdkdocs.roku.com/display/sdkdoc/SceneGraph+Samples).
4) It uses SceneGraph and the BrightScript language.
5) 
David Blume Remove unused QR images; Ad...

David Blume authored 4 years ago

6) ## Getting The Channel
7) 
8) This is the private channel code: **[dxb](https://my.roku.com/add/dxb)**
9) 
10) Clicking the link will take you directly to a confirmation page for getting the channel.
11) 
12) ## Preview
13) 
dblume Update http to https in REA...

dblume authored 1 year ago

14) ![dxb channel screenshot](https://dlma.com/images/dxb_channel/dxb_screenshot.jpg)
David Blume Remove unused QR images; Ad...

David Blume authored 4 years ago

15) 
David Blume first commit

David Blume authored 4 years ago

16) # Getting the project
17) 
dblume Add new volume and memory f...

dblume authored 10 months ago

18) At [git.dlma.com](https://git.dlma.com/dxb_channel.git) click Download and
19) select Download ZIP or Download TAR.
David Blume first commit

David Blume authored 4 years ago

20) 
21) If you're me, and you want to contribute to the repo, then you can clone it like so:
22) 
dblume Add new volume and memory f...

dblume authored 10 months ago

23)     git clone ssh://$USER@dlma.com/~/git/dxb_channel.git
David Blume first commit

David Blume authored 4 years ago

24) 
David Blume Run the test code again wit...

David Blume authored 4 years ago

25) ## Building it
David Blume first commit

David Blume authored 4 years ago

26) 
27) [Ensure you can sideload a dev channel](https://sdkdocs.roku.com/display/sdkdoc/Loading+and+Running+Your+Application).
dblume Sort connection info

dblume authored 1 year ago

28) 
dblume Add new volume and memory f...

dblume authored 10 months ago

29) It is convenient to set environment variables `$ROKU_DEV_TARGET` and `$DEVPASSWORD` in a
30) local file ".env". For example:
31) 
32)     ROKU_DEV_TARGET=192.168.1.2
33)     DEVPASSWORD=mooltipass
34) 
dblume Sort connection info

dblume authored 1 year ago

35) ### CLI
36) 
dblume Initial support for VS Code

dblume authored 1 year ago

37) Running make will build and deploy if you have `$ROKU_DEV_TARGET` and `$DEVPASSWORD` set.
dblume Sort connection info

dblume authored 1 year ago

38) 
39)     make
40) 
dblume Add tip to use entr

dblume authored 1 year ago

41) You can automatically make and deploy with each changed file with the following command:
42) 
43)     git ls-files | entr -c sh -c 'make all'
44) 
dblume Initial support for VS Code

dblume authored 1 year ago

45) ### VS Code
46) 
dblume Add new volume and memory f...

dblume authored 10 months ago

47) VS Code can also use the Makefile with
48) [VC Code Makefile Tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.makefile-tools).
dblume Initial support for VS Code

dblume authored 1 year ago

49) 
50) Use dxb\_channel.code-workspace as your workspace file for the project.
51) 
52) ### Sublime Text
dblume Sort connection info

dblume authored 1 year ago

53) 
dblume Add new volume and memory f...

dblume authored 10 months ago

54) See the "build\_systems" command in dxb\_channel.sublime-project to see how
55) the channel is zipped and deployed.
David Blume first commit

David Blume authored 4 years ago

56) 
David Blume Run the test code again wit...

David Blume authored 4 years ago

57) ## Experimenting
58) 
dblume Update http to https in REA...

dblume authored 1 year ago

59) The code in [`components/testtask.brs`](https://git.dlma.com/dxb_channel.git/blob/main/components/testtask.brs)
dblume Add new volume and memory f...

dblume authored 10 months ago

60) is run every time the OK button is pressed (while the "Test Output" pane has
61) focus).  That's a good place to experiment with new code.
David Blume Run the test code again wit...

David Blume authored 4 years ago

62) 
David Blume first commit

David Blume authored 4 years ago

63) # Is it any good?
64) 
65) [Yes](https://news.ycombinator.com/item?id=3067434).
66) 
67) # Licence
68)