This repo is now DEPRECATED. Use: https://github.com/WhackerLink/whackerlink_v4 instead.
You'll need a Google Developer account and a Google Sheets document for channels and RIDs. See Google Setup for more information.
git clone [email protected]:WhackerLink/whackerlink.git
Copy config/config.example.yml
to config/config.yml
.
Place the Google json file into the config/
directory and rename it to google.json
.
In config.yml
, next to sheetsID
paste the Google Sheet ID that the rids and channels are listed in.
The ID should look something like this: XXXXXXXXXXXXXXXXXXXXXXXXXXXX-XXXXXXXXXXXXXXX
You can find it in the URL while viewing your sheet.
Run node token_generator.js
to generate your JWT used in web-sockets.
npm start
# for debug info
DEBUG=WhackerLink:* npm start
# To use an alternative config file
npm start -- -c /path/to/config.yml
Go to https://localhost:3000
Visit
/sys_view
and/or
/sys_view/admin
for
status information.