A bot to automate shift swapping and makeups for Peer Instructors at The Hive ECE Makerspace @ Georgia Tech.
- An OS that can run Node.js (I've tested this on Windows 10, Raspbian, and macOS so far without fail).
- Node.js (download here)
- Install Node.js, if you haven't already.
- Clone this repository to your local machine.
- Open a terminal window and navigate to the repository directory.
- Execute the command
npm install
- There are certain files needed that I have purposefully excluded from this repository because they contain sensitive information such as client IDs and API keys. Reach out to me if you are looking to set up this bot on your local machine and need these files.
Note: The bot currently runs on an older version of Botkit (0.7), so confirm that version is installed with npm list botkit
. If something other than [email protected]
is listed, execute npm install [email protected]
.
npm start
will automatically open the necessary localtunnel domain (unless the bot is already online) and bring the bot online. You must leave the terminal window open in order for the bot to stay online!
The only port that is used is 8765
, which is used for the localtunnel instance. This allows for API calls to be received and responded to.