commit | 80b7b3b7026e2404068a5eae48a6c147fce04cc7 | [log] [tgz] |
---|---|---|
author | simon <tran.simon2@gmail.com> | Wed Sep 28 17:50:10 2022 -0400 |
committer | simon <tran.simon2@gmail.com> | Fri Sep 30 12:04:21 2022 -0400 |
tree | 793ffdab5dcf62e0ad5f3a652b547e852dcb6cc7 | |
parent | 07b4eb0176ad8bf76256bcf38ed741e137cad672 [diff] |
Fix lint errors Manually fix all lint errors. Some errors could not be fixed, a TODO comment was added. To fix errors caused by `react-hooks/exhaustive-deps`, missing dependencies were added to the dependencies array of some `useEffect` calls. We need to make sure that all `useEffect` call work as intended before merging Gitlab: #29 Change-Id: I939a99b0be53795ecc28d25b5067f037403f5e08
Jami-web is a web server that starts a Dameon on NodeJS express server and serve a React web client.
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.
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 cross-platform communications.
After building the Jami daemon you can use the following command to start the node js server using the LD_LIBRARY_PATH
Where $PATH_TO_JAMI_PROJECT is the path to the shared library of your Jami daemon
LD_LIBRARY_PATH=$PATH_TO_JAMI_PROJECT/ring-project/install/daemon/lib node
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
You may run the web server in a Docker container. This will automatically build the daemon and do the necessary linking.
cd daemon docker build --build-arg config_args="--with-nodejs" -t jami-daemon . cd ..
docker build --tag jami-web . docker run -it \ -p 3000:3000 \ --volume $(pwd)/client:/web-client/client \ jami-web
This will use a Docker Volume to enable auto-refresh when you change a file.
# First build the daemon if necessary docker-compose build jami-daemon # Then build the project and start the container docker-compose build docker-compose up
uncomment the line // import config from "./sentry-server.config.json" assert { type: "json" };
in ./sentry.js
uncomment the line // import config from "../sentry-client.config.json"
and the init configSentry.init(...
in ./client/index.js
uncomment the lines // import { sentrySetUp } from './sentry.js'
and sentrySetUp(app)
in ./app.ts
add sentry-client.config.json
file in client
and sentry-server.config.json
(ask them to an admin) in your project root
sh ./cypress-test.sh