Slack Bot for the ED Aisling community
To run locally:
npm install
Create a tokens.js
file.
tokens.js
:
var tokens = {
slack: '123abc'
};
module.exports = tokens;
- You'll fill that token with a real API token in a few steps.
tokens.js
as your slack token.drive_auth.json
file for server OAuth.
drive_auth.js
in the project root.node main.js
tokens.js
and drive_auth.json
This is to keep any API keys and "sensitive data" out of the repo (tokens.js
and drive_auth.json
are both ignored in .gitignore
, so you can't accidentally check them in). This is for security reasons, because I don't want random Github browsers to be able to access my Slack teams and Google APIs.