2017-06-16 10:09:32 +08:00
|
|
|
#!/bin/bash
|
|
|
|
# deploying 'bigbluebutton-apps' to /usr/share/red5/webapps
|
|
|
|
|
2018-04-12 02:38:11 +08:00
|
|
|
sudo chown -R red5.red5 /usr/share/red5/webapps
|
|
|
|
|
2017-06-16 10:09:32 +08:00
|
|
|
gradle clean
|
|
|
|
gradle resolveDeps
|
|
|
|
gradle war deploy
|
|
|
|
|
2017-06-17 01:08:31 +08:00
|
|
|
sudo chown -R red5.red5 /usr/share/red5/webapps
|
2017-06-16 10:09:32 +08:00
|
|
|
|
2017-06-17 01:08:31 +08:00
|
|
|
# Remove slf4j jar as it conflicts with logging with red5
|
|
|
|
FILE=/usr/share/red5/webapps/bigbluebutton/WEB-INF/lib/slf4j-api-1.7.23.jar
|
|
|
|
if [ -f $FILE ]
|
|
|
|
then
|
|
|
|
sudo rm $FILE
|
|
|
|
fi
|
2017-06-16 10:09:32 +08:00
|
|
|
|