Permalink
Browse files

checked out www.biwascheme.org.js from branch 'website'

  • Loading branch information...
Yutaka HARA
Yutaka HARA committed Dec 7, 2011
1 parent 734c9be commit b01a3df38fee6f2377cf89dbaa3603d53f6654c2
Showing with 19 additions and 0 deletions.
  1. +19 −0 www.biwascheme.org.js
View
@@ -0,0 +1,19 @@
+#!/usr/bin/env node
+var express = require('express'),
+ app = require('express').createServer(),
+ fs = require('fs');
+
+app.configure(function(){
+ app.use(express.static(__dirname + '/web'));
+ //app.use(express.errorHandler({ dumpExceptions: true, showStack: true }));
+});
+
+//app.get('/', function(req, res){
+// res.send('hello world');
+//});
+
+var port = process.env.PORT || 7001;
+app.listen(port, function(){
+ console.log("Listening on " + port);
+});
+

0 comments on commit b01a3df

Please sign in to comment.