-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSETUP
36 lines (30 loc) · 1.65 KB
/
SETUP
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
This document describes how to setup the development environment for the TUI SDK
For instructions on how to deploy it in your production environment please read the DEPLOY document
Prerequisites:
==============
Web server with proxy support (apache, lighttpd, etc)
Tornado M55 device (with enabled developer mode, contact Sysmaster if you do not have one)
Tornado M55 firmware version >= 109
Web browser with WebSocket support (for in browser development)
Configuration:
==============
+ Download the source and put it in a path that can be served by your http server
+ The Tornado m55 device should be correctly configured itself (i.e.
streaming server and PIN number as a minimum)
+ Set the debug device option in your copy of the SDK: add the file config.js
in app/appdebug with the followinf content:
define({
socket: 'ws://192.168.2.64:7681'
});
Substitute the IP with the one configured on your development Tornado device
At this point your development environment should be ready, start your Tornado
device, using the URL of your http server that hosts the SDK as startURL option
and then open your browser with the same URL. Open your web console to see any
errors and warnings. Note that only webkit based browsers and firefox are
supported but webkit based ones are recomended as those match closest the
browser utilized in the tornado devices.
The static files will be server from yout http server (including the controlling
JS locig) while the user data and application data will be loaded from your
Tornado device.
For more information, pull requests, bug reports and latest source please visit
[the project on github](https://github.com/pstjvn/tui)