diff --git a/README.md b/README.md index 58a642e9..f4f40de5 100644 --- a/README.md +++ b/README.md @@ -10,3 +10,14 @@ For now, there is no documentation for how you can setup the webchat. It has to be setup by your own. For example with a XMPP Server and the ConverseJS Javascript. Next step: document how you can setup the XMPP server. + +## ConverseJS + +Once you have a XMPP server that allow anonymous authentication, with bosh +(or websocket) enabled, you can - for example - setup a html page that looks like +[this one](documentation/examples/converseJS/index.html). You have of course to +replace the path /conversejs/7.0.3 with your converseJS path, and replace your_domain +by your actual domain. + +NB : there is a bug in the converseJS 7.0.4 release. The dist files don't work. +So if you are not building converseJS yourself, use version 7.0.3 instead. diff --git a/documentation/examples/converseJS/index.html b/documentation/examples/converseJS/index.html new file mode 100644 index 00000000..a62650a4 --- /dev/null +++ b/documentation/examples/converseJS/index.html @@ -0,0 +1,55 @@ + + +
+