Skip to content
Snippets Groups Projects
Commit d6b4c50e authored by Brian Peiris's avatar Brian Peiris
Browse files

Remove convenience script

parent caad5c06
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,6 @@
"devDependencies": {
"docopt": "^0.6.2",
"puppeteer": "1.1.0",
"query-string": "^5.0.1",
"serve": "^6.5.6"
"query-string": "^5.0.1"
}
}
#!/usr/bin/env sh
script_directory=$(dirname "$0")
script_directory=$(realpath "$script_directory")
echo 'Installing Hubs dependencies'
cd $script_directory/../..
yarn
echo 'Building Hubs'
yarn build > /dev/null
cd $script_directory
echo 'Installing bot dependencies'
yarn
echo 'Running Hubs'
yarn serve --ssl --port 8080 ../../public &
echo 'Running bots'
if [ "$1" != "" ]; then
node run-bot.js --room $1
else
node run-bot.js
fi
trap 'kill $(jobs -pr)' SIGINT SIGTERM EXIT
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment