aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorHumairAK <humair88@hotmail.com>2016-07-18 10:49:16 +0000
committerHumairAK <humair88@hotmail.com>2016-07-18 10:49:16 +0000
commitc1ce89359a7b54ec97b54ce577e5534c180c5c4b (patch)
tree39f8333533131fc0b0efba99a0517e11a63706ce /bin
parent0a47900db45ce82d10ad09a6aee85e1ba68a9063 (diff)
Various fixes, see changelog for details.
Diffstat (limited to 'bin')
-rw-r--r--bin/www.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/www.js b/bin/www.js
new file mode 100644
index 0000000..63aa24d
--- /dev/null
+++ b/bin/www.js
@@ -0,0 +1,13 @@
+#!/usr/bin/env node
+var app = require('../app');
+var http = require('http');
+
+var port = '3000';
+app.set('port', port);
+
+var server = http.createServer(app);
+
+server.listen(port, function(){
+ console.log('listening on port 3000');
+});
+