.. | ||
gradle/wrapper | ||
grails-app | ||
nginx-confs | ||
pres-checker | ||
src | ||
test | ||
wrapper | ||
.dockerignore | ||
.gitignore | ||
bbb-web.nginx | ||
build.gradle | ||
build.sh | ||
COPYING.LESSER | ||
docker-entrypoint.sh | ||
Dockerfile | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
grails-wrapper.jar | ||
grailsw | ||
grailsw.bat | ||
INSTALL | ||
README.md | ||
run.sh | ||
settings.gradle | ||
turn-stun-servers.xml.tmpl |
BigBlueButton Web Grails 3 Deployment Procedure
To run the application from its source code : grails prod run-app
To run the application on a different port use : grails -port=8989 prod run-app
To run unit tests: grails test-app --stacktrace
To package the application for production:
- Compile the application and package it use
grails assemble
- You now have the file
build/libs/bigbluebutton-0.10.0.war
- Create a new directory
mkdir exploded
- Navigate to that directory
cd exploded
- Extract the war content
jar -xvf ../build/libs/bigbluebutton-0.10.0.war
- Package the content of the new directory in a debian package then add service configuration.
- The application is after that runnable using the following command
java -cp WEB-INF/lib/*:/:WEB-INF/classes/:. org.springframe work.boot.loader.WarLauncher
Don't forget to use full directories path and replace the dot before the org with the full path to the exploded war.