Skip to content

Commit

Permalink
Added server.js to project root
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew White committed Aug 27, 2016
1 parent 6907b2f commit eab7d36
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions server.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env node

'use strict';

var server = require('./app');
var port = process.env.PORT || process.env.VCAP_APP_PORT || 3000;

server.listen(port, function() {
console.log('Server running on port: %d', port);
});

0 comments on commit eab7d36

Please sign in to comment.