mirror of
				https://github.com/reality/dbot.git
				synced 2025-11-04 05:57:31 +01:00 
			
		
		
		
	
							parent
							
								
									1ce4b05932
								
							
						
					
					
						commit
						d8191c8232
					
				@ -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
 | 
			
		||||
 | 
			
		||||
@ -7,31 +7,21 @@ 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
 | 
			
		||||
npm install express jade
 | 
			
		||||
```
 | 
			
		||||
###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/
 | 
			
		||||
wget http://twitter.github.com/bootstrap/assets/bootstrap.zip
 | 
			
		||||
unzip bootstrap.zip
 | 
			
		||||
rm bootstrap.zip
 | 
			
		||||
```
 | 
			
		||||
###d3.js
 | 
			
		||||
 | 
			
		||||
### d3.js
 | 
			
		||||
```
 | 
			
		||||
cd depressionbot/public/
 | 
			
		||||
mkdir d3
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user