bigbluebutton-Github/bigbluebutton-web
Guilherme Pereira Leme 4ef078ccf5
feature: Override client settings through API /create call (#18782)
* akka-with-client-configs

* [akka-with-client-configs] -  inserted client configs in akka

* [issue-18588-create-override] - WIP

* [akka-with-client-configs] - Remove unnecessary code

* [issue-18588] - test some thesis

* [akka-with-client-configs] - refactor to add jackson and immutable.Map

* [issue-18588-create-override] - new architecture for overriding client configs]

* [issue-18588-create-override] - implemented settings

* Refactor on clientSettingsOverride module and add allowOverrideClientSettingsOnCreateCall conf

---------

Co-authored-by: Gustavo Trott <gustavo@trott.com.br>
2023-10-10 21:00:20 -03:00
..
gradle/wrapper
grails-app feature: Override client settings through API /create call (#18782) 2023-10-10 21:00:20 -03:00
nginx-confs Removes all references to swf files (used by old flash client) 2022-11-17 10:55:19 -03:00
pres-checker Added try-catch to stream close 2023-05-09 16:18:20 +00:00
src Merge branch 'v2.6.x-release' of github.com:bigbluebutton/bigbluebutton into june227 2023-06-02 09:45:34 -04:00
test remove SetPollsXML 2022-09-30 14:24:09 +00:00
wrapper
.gitignore refactor: further cleanup of bbb-demo 2022-07-14 14:55:10 +00:00
bbb-web.nginx Fix: use grails configuration for CORS settings 2022-07-27 23:30:36 +02:00
build.gradle Fully remove dependency 2023-06-08 17:35:12 +00:00
build.sh
COPYING.LESSER
deploy_to_usr_share.sh fix: Allow for existing dir 'exploded' in bbb-web deploy_to_usr_share.sh 2023-03-09 16:23:21 -05:00
gradle.properties Merge 2.7 into Develop 2023-07-31 11:24:25 -03:00
gradlew
gradlew.bat
grails-wrapper.jar
grailsw
grailsw.bat
INSTALL
loadbalancer.nginx
README.md chore(bbb-web): do away with wrapper script, use default files 2022-10-11 19:45:26 +02:00
run-dev.sh Improve scripts to run/deploy applications 2022-03-31 13:48:57 -03:00
run.sh refactor: swap netstat with ss 2022-03-23 20:50:19 +00:00
settings.gradle
turn-stun-servers.xml.tmpl

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. Package the content of the new directory in a debian package then add service configuration. Install into /usr/share/bbb-web.
  7. Use the systemd service file provided in build/package-template/bbb-web. App will be listening on port 8080
  8. 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.