X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=shm_utils%2Fumurmurd-websocket%2FREADME.md;fp=shm_utils%2Fumurmurd-websocket%2FREADME.md;h=fa2611c5d44483a32e36ff676aa2f84763d87f66;hb=610a57b7036f0868102952062bcda45b56d80a59;hp=0000000000000000000000000000000000000000;hpb=9179d97f99164c4f27bb73e32181a7f2e9a7629a;p=umurmur.git diff --git a/shm_utils/umurmurd-websocket/README.md b/shm_utils/umurmurd-websocket/README.md new file mode 100644 index 0000000..fa2611c --- /dev/null +++ b/shm_utils/umurmurd-websocket/README.md @@ -0,0 +1,29 @@ +uMurmurd-Websocket - HTTP/JSON server example +============================================= + +HTTP/JSON server in one. Useing a js prettyprinter type lib to display the output +It not the best looking but its just a demo. Hopeing someone else with better web +skills can make something better. + + +Instructions for building from source +------------------------------------- +1. Requirements + * [OpenSSL](http://www.openssl.org/) + * [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) + * [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 + * [CMake](http://cmake.org) + +2. Build - CMake + * Create a build folder and cd into it + * `cmake ../` + * `make` + +3. Run + * start umurmurd from this git like this ./umurmurd -d -c + - the -d option is just to make it easier to see debug info + * start uMurmurd-Websocket with ./uMurmurd-Websocket --ssl + - option --ssl is for https://, http:// otherwise + * point web browser to https://localhost:7681 + + \ No newline at end of file