bigbluebutton-Github/bigbluebutton-html5/run-dev.sh

20 lines
292 B
Bash
Raw Normal View History

#!/usr/bin/env bash
sudo systemctl stop bbb-html5 mongod
cd "$(dirname "$0")"
for var in "$@"
do
2022-04-01 01:05:04 +08:00
if [[ $var == --reset ]] ; then
echo "Performing Meteor reset..."
rm -rf node_modules
meteor reset
fi
done
2022-04-01 20:15:30 +08:00
if [ ! -d ./node_modules ] ; then
meteor npm i
fi
npm start