git clone https://github.com/WritheM/Wallace.git
cd Wallace
npm install
npm should install these for you, but it's always nice to know what you need. For starters, node.js must be higher than version 0.10.
- "plugapi": "WritheM/PlugAPI"
- "node-slackr": ">=0.1.0"
- "log4js": ">=0.6.25"
- "request": ">=2.58.0"
- "config": ">=1.14.0"
- Copy
config.json.dist
toconfig.json
- Set the values inside the config, and configure any plugins data
Additional configuration options per plugin can be found in the README.md of the plugins directory.
You can either just go to console and type node main.js
or if you're on windows you can run one of the included bat files.
The execute.bat
will only execute the bot, pause, then repeat.
The PullAndStart.bat
will pull from git, update npm installs, Start the bot, then repeat. This is what we use in our production environment. If there is a crash, the bot updates from git, then restarts.