Separate server core from Electron.

This commit is contained in:
Michael Teeuw
2016-04-08 22:16:22 +02:00
parent 0441b9fb50
commit a34a5c4db0
4 changed files with 149 additions and 92 deletions

5
serveronly/index.js Normal file
View File

@@ -0,0 +1,5 @@
var app = require('../js/app.js');
app.start(function(config) {
console.log('');
console.log('Ready to go! Please point your browser to: http://localhost:' + config.port);
});