bigbluebutton-Github/bigbluebutton-web
2022-07-12 17:59:23 +00:00
..
gradle/wrapper upgrading bigbluebutton-web 2021-12-17 12:39:03 +00:00
grails-app Removed H2 from bbb-web 2022-07-12 17:59:23 +00:00
nginx-confs Refactor handlers, role validation 2022-04-30 23:28:11 +02:00
pres-checker build: handle bbb-web pres-checker 2022-03-16 20:14:53 +00:00
src Merge remote-tracking branch 'upstream/v2.4.x-release' into merge-2425-apr08 2022-04-08 17:30:21 -03:00
test Makes bbb-web provide LearningDashboard data while meeting is alive 2021-10-14 14:00:25 -03:00
wrapper - upgrade bigbluebutton-web to grails 2.3.6 2014-02-25 15:46:06 +00:00
.gitignore updated .gitignore for bbb-web and bbb-html5 2019-03-14 16:43:48 +00:00
bbb-web.nginx chore: add legacy checkAuthorization endpoint 2021-12-16 23:43:55 -03:00
build.gradle Removed H2 from bbb-web 2022-07-12 17:59:23 +00:00
build.sh - separate building and running as most of the times, we don't need to re-run bringing in jars and configs. 2019-01-25 12:25:16 -08:00
COPYING.LESSER - upgrade bigbluebutton-web to grails 2.3.6 2014-02-25 15:46:06 +00:00
deploy_to_usr_share.sh Avoid to override the first backup 2022-03-31 14:53:25 -03:00
gradle.properties tomcat embedded version in one place 2022-04-04 20:25:57 +00:00
gradlew upgrading bigbluebutton-web 2021-12-17 12:39:03 +00:00
gradlew.bat upgrading bigbluebutton-web 2021-12-17 12:39:03 +00:00
grails-wrapper.jar Update bigbluebutton-web to gradle 5.1 (Work In Progress) 2019-01-09 21:06:09 +01:00
grailsw Update bigbluebutton-web to gradle 5.1 (Work In Progress) 2019-01-09 21:06:09 +01:00
grailsw.bat Update bigbluebutton-web to gradle 5.1 (Work In Progress) 2019-01-09 21:06:09 +01:00
INSTALL - upgrade bigbluebutton-web to grails 2.3.6 2014-02-25 15:46:06 +00:00
loadbalancer.nginx Update packaging and nginx config for loadbalancer 2021-11-21 21:12:50 +01:00
README.md - update doc to build and run bbb-web during development 2019-02-07 08:05:50 -08:00
run-dev.sh Improve scripts to run/deploy applications 2022-03-31 13:48:57 -03:00
run-prod.sh Services run as starting PID 2021-04-05 12:24:29 +02:00
run.sh refactor: swap netstat with ss 2022-03-23 20:50:19 +00:00
settings.gradle Update bigbluebutton-web to gradle 5.1 (Work In Progress) 2019-01-09 21:06:09 +01:00
turn-stun-servers.xml.tmpl - reduce size of the bbb-html5 image 2018-08-24 17:15:47 -03:00

BigBlueButton Web Grails 3 Deployment Procedure

Upgrade Gradle and Grails

# Install SDKMan if you don't have it yet.

curl -s "https://get.sdkman.io" | bash

# Install Gradle
sdk install gradle 5.1.1

# Install Grails
sdk install grails 3.3.9

Development

Build bbb-common-message

cd /bigbluebutton/bbb-common-message

./deploy.sh

Build bbb-common-web

cd bigbluebutton/bbb-common-web

./deploy.sh

Build and run bbb-web

cd bigbluebutton/bigbluebutton-web

# Make sure you don't have old libs lying around. Might cause issues.
# You need to to this only once to cleanup lib dir.

rm lib/*

./build.sh

# This will listen on port 8989 so you need to adjust your nginx config.
# If you've setup your nginx config to bbb-web dev, you don't need to do anything.

./run.sh

To run unit tests: grails test-app --stacktrace

Production

To package the application for production:

  1. Compile the application and package it use grails assemble
  2. You now have the file build/libs/bigbluebutton-0.10.0.war
  3. Create a new directory mkdir exploded
  4. Navigate to that directory cd exploded
  5. Extract the war content jar -xvf ../build/libs/bigbluebutton-0.10.0.war
  6. Copy run script into exploded dir cp ../run-prod.sh .
  7. Package the content of the new directory in a debian package then add service configuration. Install into /usr/share/bbb-web.
  8. Create a systemd service file that runs run-prod.sh. App will be listening on port 8080
  9. To do custom config, edit /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties Don't forget to use full directories path and replace the dot before the org with the full path to the exploded war.