bigbluebutton-Github/bigbluebutton-html5/run-dev.sh
2022-04-01 09:15:30 -03:00

20 lines
292 B
Bash
Executable File

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