diff options
| author | nanalelfe <nargiza.nosirova@mail.utoronto.ca> | 2016-07-18 10:54:08 +0000 |
|---|---|---|
| committer | nanalelfe <nargiza.nosirova@mail.utoronto.ca> | 2016-07-18 10:54:08 +0000 |
| commit | a35da9f9ccc1124d9b6f4461c7216ffbb0285e2f (patch) | |
| tree | d5b4b8548caae36a20e1258a8341dab4b3d522d2 /bin | |
| parent | 16bbc66ebafc6f1a55e47dbda3f3c0f658fe715c (diff) | |
| parent | c1ce89359a7b54ec97b54ce577e5534c180c5c4b (diff) | |
merged
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/www.js | 13 |
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'); +}); + |
