f62c3915a1d164644cc2f890d617777b5f1d6bfb
David Blume first commit

David Blume authored 8 years ago

1) # IP Tagger
2) 
David Blume Migrate from SDK1 to SceneG...

David Blume authored 5 years ago

3) IP Tagger is a test [channel for Roku devices](https://sdkdocs.roku.com/display/sdkdoc/SceneGraph+Samples).
4) It uses SceneGraph and the BrightScript language.
David Blume first commit

David Blume authored 8 years ago

5) 
6) # Getting the project
7) 
dblume Update README.md

dblume authored 2 months ago

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

David Blume authored 8 years ago

9) 
10) If you're me, and you want to contribute to the repo, then you can clone it like so:
11) 
dblume Update README.md

dblume authored 2 months ago

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

David Blume authored 8 years ago

13) 
14) # Building it
15) 
David Blume Migrate from SDK1 to SceneG...

David Blume authored 5 years ago

16) [Ensure you can sideload a dev channel](https://sdkdocs.roku.com/display/sdkdoc/Loading+and+Running+Your+Application).
David Blume Escape a couple of intra-wo...

David Blume authored 8 years ago

17) Then see the "build\_systems" command in ip\_tagger.sublime-project to see how the channel is zipped and deployed.
David Blume first commit

David Blume authored 8 years ago

18) 
dblume Update README.md

dblume authored 2 months ago

19) In the components directory, move the file "[settings.xml.sample](https://git.dlma.com/roku_ip_tagger.git/blob/main/components/settings.xml.sample)"
20) to "settings.xml" and update its `url` and `auth` fields.
21) 
22) It is convenient to set environment variables `$ROKU_DEV_TARGET` and `$DEVPASSWORD` in a local file ".env". For example:
23) 
24)     ROKU_DEV_TARGET=192.168.1.2
25)     DEVPASSWORD=mooltipass
26) 
27) ### CLI
28) 
29) Running make will build and deploy if you have `$ROKU_DEV_TARGET` and `$DEVPASSWORD` set.
30) 
31)     make
32) 
33) You can automatically make and deploy with each changed file with the following command:
34) 
35)     git ls-files | entr -c sh -c 'make all'
36) 
37) ### VS Code
38) 
39) VS Code can also use the Makefile with [VC Code Makefile Tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.makefile-tools).
40) 
41) 
David Blume Add reference to the corres...

David Blume authored 7 years ago

42) # Corresponding Server Code
43) 
dblume Update http to https in REA...

dblume authored 1 year ago

44) Here's [the corresponding server code](https://git.dlma.com/kvs.git/).
David Blume Add reference to the corres...

David Blume authored 7 years ago

45) 
David Blume first commit

David Blume authored 8 years ago

46) # Is it any good?
47) 
48) [Yes](https://news.ycombinator.com/item?id=3067434).
49) 
50) # Licence
51)