mirror of
https://github.com/reality/dbot.git
synced 2024-12-25 04:02:39 +01:00
parent
1ce4b05932
commit
d8191c8232
@ -14,7 +14,7 @@ then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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/
|
cd public/
|
||||||
wget http://twitter.github.com/bootstrap/assets/bootstrap.zip
|
wget http://twitter.github.com/bootstrap/assets/bootstrap.zip
|
||||||
|
@ -7,23 +7,12 @@ 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
|
|
||||||
|
### Express and Jade
|
||||||
```
|
```
|
||||||
npm install express
|
npm install express jade
|
||||||
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/
|
||||||
@ -31,6 +20,7 @@ wget http://twitter.github.com/bootstrap/assets/bootstrap.zip
|
|||||||
unzip bootstrap.zip
|
unzip bootstrap.zip
|
||||||
rm bootstrap.zip
|
rm bootstrap.zip
|
||||||
```
|
```
|
||||||
|
|
||||||
### d3.js
|
### d3.js
|
||||||
```
|
```
|
||||||
cd depressionbot/public/
|
cd depressionbot/public/
|
||||||
|
Loading…
Reference in New Issue
Block a user