The Plug.dj bot for Coding Soundtrack Lounge that runs on Meteor
Note: This bot uses TATDK/plugapi as its API dependency
-
Clone the Repo
-
Edit
packages/skitty-config/config.json
and update each field"con": { "attempts": 5, "delay": 1000, "room": "plugdj-room-name" }, "auth": { "email": "plugdj-bot-acct-email", "password": "plugdj-bot-acct-pw" }
-
Launch app
sudo meteor
This project uses MUP to deploy any Meteor app to our own server
-
Install MUP
-
Edit the following files:
mup.json
// Server authentication info "servers": [ { "host": "hostname", "username": "root", "password": "password", "sshOptions": { "Port" : 22 }, "pem": "~/.ssh/id_rsa" } ], // Install MongoDB in the server, does not destroy local MongoDB on future setup "setupMongo": true, // WARNING: Node.js is required! Only skip if you already have Node.js installed on server. "setupNode": true, // WARNING: If nodeVersion omitted will setup 0.10.31 by default. Do not use v, only version number. "nodeVersion": "0.10.31", // Install PhantomJS in the server "setupPhantom": false, // Application name (No spaces) "appName": "meteor", // Location of app (local directory) "app": "/path/to/the/app", // Configure environment "env": { "PORT": 80, "ROOT_URL": "http://myapp.com" }, // Meteor Up checks if the app comes online just after the deployment // before mup checks that, it will wait for no. of seconds configured below "deployCheckWaitTime": 15
settings.json
"public": {},
You can set settings for Meteor's settings API
If you frequent the room and wish to contribute, feel free open a pull request or issue. Have fun!