[jitsi-dev] setup a jitsi development and test environment


#1

Hi, There

We are developing some communication solution based on Jitsi. It has very good high level documentations. However to make changes I'd like to setup a development service with jitsi meet, jicofo and jvb so that I can run tests and understand the protocol as well as current implementations in more details on a local machine. Are there any instructions on how to do this?

thanks

Xiaoyong


#2

Hi,

There is no instruction for this. The easiest way that most of the devs use:
1. Install nginx
2. Deploy jitsi-meet using quick-install guide [1].
3. Make sure it works, with 2 participants and with 3 participants.
4. Checkout jitsi-meet from github, read the README and follow the
instructions for compiling.
5. Edit nginx configuration changing /usr/share/jitsi-meet to
/folder/where/you/checkout/jitsi-meet/ and restart nginx, now you use
jitsi-meet from source.
6. Checkout jicofo and jvb
7. Stop the services
/etc/init.d/jicofo stop
/etc/init.d/jitsi-videobridge stop)
8. Compile jicofo and jvb.
Compiling with the following command:
mvn -U clean package -DskipTests -Dassembly.skipAssembly=false
will produce target/jicofo-linux-x64-....zip or jvb. If you extract
those archives you can run them with the following command:

. /etc/jitsi/jicofo/config
jicofo-linux-x64-*/jicofo.sh --host=$JICOFO_HOST
--domain=$JICOFO_HOSTNAME --port=$JICOFO_PORT --secret=$JICOFO_SECRET
--user_domain=$JICOFO_AUTH_DOMAIN
--user_password=$JICOFO_AUTH_PASSWORD

. /etc/jitsi/videobridge/config
jitsi-videobridge-linux-x64-*/jvb.sh --host=localhost
--domain=$JVB_HOSTNAME --port=$JVB_PORT --secret=$JVB_SECRET $JVB_OPTS

You can also use resources/mvn-exec.sh to directly run from source,
but I havn't use those personally and cannot give advice on that for
the moment.

This is an overall guide which will give you a deployment running from
source (jitsi-meet, jicofo and jvb).

Regards
damencho

[1] - https://github.com/jitsi/jitsi-meet/blob/master/doc/quick-install.md

ยทยทยท

On Mon, Mar 12, 2018 at 4:57 PM, Xiaoyong Zhou <xiaoyong@tijee.com> wrote:

Hi, There

We are developing some communication solution based on Jitsi. It has very
good high level documentations. However to make changes I'd like to setup a
development service with jitsi meet, jicofo and jvb so that I can run tests
and understand the protocol as well as current implementations in more
details on a local machine. Are there any instructions on how to do this?

thanks

Xiaoyong

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev