-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
31 lines (24 loc) · 1 KB
/
README
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
Demostration application for libjsonrpc and libws.
Consists from two parts : back-end and front-end.
Back-end: supply JSON-RPC interface via HTTP and WebSocket
Front-end: offer to user possibility to change state of device via browser interface.
To start application - build, and launch from directory, where places 'web' directory.
Launch options :
-- ip address of host
-- (optional) ssl - start listen crypted connections.
Program waits connection on 8080 port.
Build-process:
1. Install libevent (version < 2)
2. Install libcheck (needed for tests)
3. Build and install libevent0
4. Build and install libws (WebSocket library)
5. Build and install libjsonrpc
6. Build and install demo (demo application)
Building and installation:
$ autoreconf --install -I ./
$ ./configure
$ make
$ make check # (optional, run tests)
$ sudo make install
!IMPORTANT
For correct work of front-end part you need a browser that implements 00 version of WebSocket protocol (e.g. Google Chrome 6, Firefox 4.0, Opera 11.00, Safari 5.01)