Build from code and install


#1

I have followed steps from here (Manual install) and here (Ubuntu/Debian instructions).

My question is: I need to modify the source code and build the same. Building itself is not an issue - but having built it, how does one perform an install from custom code base (instead of the standard packages)?

My apologies if this has been asked before.


#2

You will need to follow the instructions on building from source section :

https://github.com/jitsi/jitsi-meet#building-the-sources

Basically you will need to build the code from source, customize it then test your new functionality using :

make dev


#3

First I want to mention that manual install is not recommended, use the quick install guide.
If you are asking for jitsi-meet, the easiest way is to check out and build jitsi-meet and in the web server just change the folder it serves meet, from /usr/share/jitsi-meet to the folder where you build jitsi-meet like /home/damencho/jitsi-meet.


#4

Thanks Damencho.

We do use the Quick Install Guide (chalk that to a typo). Thanks for pointing to instructions for JITSI-MEET. That works.

I am assuming for videobridge, as long as I have JDK installed, running jvb.sh (like so: ./jvb.sh --host=localhost --domain=jitsi.example.com --port=5347 --secret=PASSWORD &) will work. Ditto for JICOFO.


#5

Mind that those scripts expect all libraries are in lib folder, for source you can either build package like mvn install -Dassembly.skipAssembly=false and you will have a zip file you can use or you need to copy all libraries from maven to the lib folder ant -lib ~/.m2/repository/org/apache/maven/maven-ant-tasks/2.1.3 copy-runtime-dependencies-from-maven. These instructions apply both to jicofo and jvb, there is also an option to run it directly with maven: https://github.com/jitsi/jitsi-videobridge/blob/master/resources/mvn-exec.sh