2011-01-14 05:13:29 +08:00
|
|
|
pushd .
|
|
|
|
|
|
|
|
#stop current
|
|
|
|
sudo /etc/init.d/red5 stop
|
|
|
|
|
|
|
|
# build
|
|
|
|
cd ~/dev/source/bigbluebutton/bigbluebutton-apps
|
2011-03-02 04:49:30 +08:00
|
|
|
gradle resolveDeps war deploy || exit
|
2010-06-29 12:51:31 +08:00
|
|
|
|
2011-01-14 05:13:29 +08:00
|
|
|
# run
|
2010-06-29 12:51:31 +08:00
|
|
|
cd /usr/share/red5/
|
2011-03-02 04:49:30 +08:00
|
|
|
sudo -u red5 ./red5.sh || exit
|
2010-06-29 12:51:31 +08:00
|
|
|
|
2011-01-14 05:13:29 +08:00
|
|
|
#return to working dir
|
|
|
|
popd
|