Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Windows or OSX startup

Code Block
set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n
or
export MAVEN_OPTS='-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n'
cd openmeetings-web
mvn install -P allModules,quick,mysql jetty:run-exploded -Dwicket.configuration=DEVELOPMENT

# build single module
mvn install -P allModules,quick,mysql -pl openmeetings-core

Start Kurento being able to record locally

May create videos as root.

Folder name for the room may need to exist, or might be created as root. So you may need to create it manually.

Code Block
// for example /home/$user/work/openmeetings
export OM_HOME=$YOUR_PATH
// for example export OM_HOME=/Users/wagns1/Documents/apache/openmeetings/_REPO/openmeetings/openmeetings-web/target/openmeetings-web-5.0.0-M5-SNAPSHOT

docker run -v $OM_HOME/data:$OM_HOME/data -p 8888:8888 kurento/kurento-media-server
or
docker run -v $OM_HOME/data:$OM_HOME/data -p 8888:8888 kurento/kurento-media-server-exp:bionic-gstreamer

Start up debug session

Generate unpacked once

Code Block
mvn clean install -P allModules,unpacked,mysql -Dwicket.configuration=DEVELOPMENT -DskipTests -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.javadoc.skip=true -Dmpir.skip=true

Compile Javascript only

compiles JS files and CSS bundle only

Code Block
languagebash
# Run NPM install on each of the packages (only required once unless you change dependency):
# mvn frontend:npm@main-install frontend:npm@chat-install frontend:npm@settings-install frontend:npm@room-install frontend:npm@wb-install
# Run NPM 
mvn frontend:npm@main frontend:npm@chat frontend:npm@settings frontend:npm@room frontend:npm@wb
# Minify CSS
mvn minify:minify@theme-minify minify:minify@nettest-js
# Copy to destination, in this case running OpenMeetings using the embedded Jetty, see above
export CURRENT_DIR=$(pwd)
rsync -a $CURRENT_DIR/target/generated-sources/js/ $CURRENT_DIR/target/openmeetings-web-7.0.0-SNAPSHOT/WEB-INF/classes/