bigbluebutton-Github/bbb-export-annotations/run-dev.sh
Gustavo Trott de514dcb75
Add new shell scripts useful for development (#18905)
* Create run-dev.sh and deploy.sh for more applications

* Remove wrong line
2023-10-06 15:12:16 -03:00

18 lines
279 B
Bash
Executable File

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