Merge git://github.com/reality/depressionbot into underscore

This commit is contained in:
reality 2013-01-12 14:17:21 +00:00
commit 319dd44748
3 changed files with 19 additions and 2 deletions

View File

@ -13,7 +13,7 @@
},
"admins": [ "batman" ],
"moderators": [ "whatever" ],
"moduleNames": [ "ignore", "admin", "command", "dice", "js", "kick", "quotes", "spelling", "youare" ],
"moduleNames": [ "ignore", "admin", "command", "dice", "js", "kick", "quotes", "spelling", "youare", "stats", "users" ],
"language": "english",
"debugMode": true
}

2
jsbot

@ -1 +1 @@
Subproject commit cf6290902cfed0c8d698ce64df2ae0ae0a64b9f2
Subproject commit 9477dc33ff1b940f8c07225f00d0648de2a41cb4

View File

@ -7,6 +7,23 @@ Web interface
It's a web interface for DBot. What of it?
## Requirements
###Express and Jade@0.25
```
npm install express
npm install jade@0.25
```
###Express Patch
Express currently needs to be patched, edit ~/node_modules/express/lib/express.js as thus;
```
52 for (var key in connect.middleware) {
**53 if( !Object.prototype.hasOwnProperty(key) ) {
54 Object.defineProperty(
55 exports
56 , key
57 , Object.getOwnPropertyDescriptor(connect.middleware, key));
**58 }
59 }
```
###Twitter Bootstrap
```
cd depressionbot/public/