update
[umurmur.git] / shm_utils / umurmurd-websocket / README.md
1 uMurmurd-Websocket - HTTP/JSON server example\r
2 =============================================\r
3 \r
4 HTTP/JSON server in one. Useing a js prettyprinter type lib to display the output\r
5 It not the best looking but its just a demo. Hopeing someone else with better web \r
6 skills can make something better.\r
7   \r
8 \r
9 Instructions for building from source\r
10 -------------------------------------\r
11 1. Requirements\r
12   * [OpenSSL](http://www.openssl.org/)\r
13         * [libwebsockets](http://libwebsockets.org) library. I used this [tarball]([http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/snapshot/libwebsockets-1.23-chrome32-firefox24.tar.gz) \r
14   * [Jansson](www.digip.org/jansson/) library.  I used this [tarball](http://www.digip.org/jansson/releases/jansson-2.6.tar.gz) Jansson is a C library for encoding, decoding and manipulating JSON data\r
15   * [CMake](http://cmake.org) \r
16 \r
17 2. Build - CMake\r
18         * Create a build folder and cd into it\r
19         * `cmake ../`\r
20         * `make`\r
21 \r
22 3. Run\r
23   * start umurmurd from this git like this ./umurmurd -d -c <conf file>\r
24        - the -d option is just to make it easier to see debug info\r
25   * start uMurmurd-Websocket with ./uMurmurd-Websocket --ssl \r
26        - option --ssl is for https://, http:// otherwise\r
27   * point web browser to https://localhost:7681      \r
28 \r
29