mirror of
https://github.com/reality/dbot.git
synced 2024-11-30 16:09:27 +01:00
Merge git://github.com/reality/depressionbot into underscore
This commit is contained in:
commit
319dd44748
@ -13,7 +13,7 @@
|
|||||||
},
|
},
|
||||||
"admins": [ "batman" ],
|
"admins": [ "batman" ],
|
||||||
"moderators": [ "whatever" ],
|
"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",
|
"language": "english",
|
||||||
"debugMode": true
|
"debugMode": true
|
||||||
}
|
}
|
||||||
|
2
jsbot
2
jsbot
@ -1 +1 @@
|
|||||||
Subproject commit cf6290902cfed0c8d698ce64df2ae0ae0a64b9f2
|
Subproject commit 9477dc33ff1b940f8c07225f00d0648de2a41cb4
|
@ -7,6 +7,23 @@ Web interface
|
|||||||
It's a web interface for DBot. What of it?
|
It's a web interface for DBot. What of it?
|
||||||
|
|
||||||
## Requirements
|
## 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
|
###Twitter Bootstrap
|
||||||
```
|
```
|
||||||
cd depressionbot/public/
|
cd depressionbot/public/
|
||||||
|
Loading…
Reference in New Issue
Block a user