blob: b1a84514713ddbf160cfc76d04009e930aec5376 [file] [log] [blame]
Larbi Gharibe9af9732021-03-31 15:08:01 +01001# Jami-Jass
2
3Jami-Jass is a web server that starts a Dameon on NodeJS express server and serve a React web client.
4
5The 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
7Next 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
11Jami deamon (https://review.jami.net/admin/repos/ring-daemon)
12
13Jami node js interface (https://review.jami.net/admin/repos/ring-daemon)
14
15Node JS
16
17React
18
19Webpack
20
21Babel
22
23npm install -g node-gyp
24
25For the rest of the dependencies see package.json
26
27# How to start the server
28
29After building the Jami daemon you can use the following command to start the node js server using the LD_LIBRARY_PATH
30
31Where $PATH_TO_JAMI_PROJECT is the path to the shared library of your Jami daemon
32
33LD_LIBRARY_PATH=$PATH_TO_JAMI_PROJECT/ring-project/install/daemon/lib node
34
35To 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
37Make sure that the Makefile.ma is configured to build the Swig interfaces with the right nodejs version:
38
39node-gyp configure --target=4.0.0 --arch=x64 --dist-url=https://atom.io/download/electron
40
41