Permalink
Browse files

fix package.json and some files

  • Loading branch information...
1 parent 5775d1b commit d5b8f585c33eba288f36e9c2cac181fdacd91c75 @sugyan sugyan committed Feb 23, 2012
Showing with 6 additions and 9 deletions.
  1. +2 −3 README.mkdn
  2. +2 −1 package.json
  3. +2 −5 server.js
View
@@ -24,11 +24,10 @@ Setup
-----
% brew install node
- % curl http://npmjs.org/install.sh | sh
% brew install gdbm
- % npm install libxmlext request gdbm mkdirp nquery
+ % npm install
% make
- % make server
+ % make httpd
Usage
-----
View
@@ -17,7 +17,8 @@
"gdbm": "~1.0.7",
"express": ">=0.0.1",
"request": ">=2.2.9",
- "mkdirp": ">=0.0.1"
+ "mkdirp": ">=0.0.1",
+ "nquery": ">=0.1.3"
},
"devDependencies": {},
"scripts": {
View
@@ -1,13 +1,10 @@
var express = require('express'),
- fs = require('fs'),
util = require('util'),
app = express.createServer(
express.logger()
- ),
- undefined
- ;
+ );
app.use(express.static(__dirname + '/htdocs/'));
app.listen(9041);
-util.log('jsapi server is listening port 9041. open http://localhost:9041/')
+util.log('jsapi server is listening port 9041. open http://localhost:9041/');

0 comments on commit d5b8f58

Please sign in to comment.