3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-24 11:42:36 +01:00

Update install.sh modules and update web docs [#464][#351]

This commit is contained in:
reality 2013-05-26 15:49:44 +00:00
parent 1ce4b05932
commit d8191c8232
2 changed files with 8 additions and 18 deletions

View File

@ -14,7 +14,7 @@ then
exit 1
fi
npm install underscore request sandbox express moment jade@0.25
npm install node-uuid underscore request sandbox express moment jade databank databank-redis ent
cd public/
wget http://twitter.github.com/bootstrap/assets/bootstrap.zip

View File

@ -7,23 +7,12 @@ Web interface
It's a web interface for DBot. What of it?
## Requirements
###Express and Jade@0.25
### Express and Jade
```
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 }
npm install express jade
```
### Twitter Bootstrap
```
cd depressionbot/public/
@ -31,6 +20,7 @@ wget http://twitter.github.com/bootstrap/assets/bootstrap.zip
unzip bootstrap.zip
rm bootstrap.zip
```
### d3.js
```
cd depressionbot/public/