Larbi Gharib | e9af973 | 2021-03-31 15:08:01 +0100 | [diff] [blame] | 1 | # Jami-Jass |
| 2 | |
| 3 | Jami-Jass is a web server that starts a Dameon on NodeJS express server and serve a React web client. |
| 4 | |
| 5 | The first milestone is to allow user with LDAP credentials to connect to the account using JAMS service and start chatting with their contacts using instant messaging. |
| 6 | |
| 7 | Next step will be to implement a video protocol such as WebRTC to allow audio and video calls from the users browser to another Jami contact allowing crossplateform communications. |
| 8 | |
| 9 | # Main dependencies |
| 10 | |
| 11 | Jami deamon (https://review.jami.net/admin/repos/ring-daemon) |
| 12 | |
| 13 | Jami node js interface (https://review.jami.net/admin/repos/ring-daemon) |
| 14 | |
| 15 | Node JS |
| 16 | |
| 17 | React |
| 18 | |
| 19 | Webpack |
| 20 | |
| 21 | Babel |
| 22 | |
| 23 | npm install -g node-gyp |
| 24 | |
| 25 | For the rest of the dependencies see package.json |
| 26 | |
| 27 | # How to start the server |
| 28 | |
| 29 | After building the Jami daemon you can use the following command to start the node js server using the LD_LIBRARY_PATH |
| 30 | |
| 31 | Where $PATH_TO_JAMI_PROJECT is the path to the shared library of your Jami daemon |
| 32 | |
| 33 | LD_LIBRARY_PATH=$PATH_TO_JAMI_PROJECT/ring-project/install/daemon/lib node |
| 34 | |
| 35 | To build the dring.node Javascript interface to talk to the daemon api go to the daemon repo and use ./configure --with-nodejs then execute make -j4 to build the daemon |
| 36 | |
| 37 | Make sure that the Makefile.ma is configured to build the Swig interfaces with the right nodejs version: |
| 38 | |
| 39 | node-gyp configure --target=4.0.0 --arch=x64 --dist-url=https://atom.io/download/electron |
| 40 | |
| 41 | |