forked from fbornhofen/life_star
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathstandalone_star.js
41 lines (33 loc) · 1.95 KB
/
standalone_star.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
process.env.LK_SCRIPTS_ROOT = "/Users/robert/Dropbox/Projects/lk-scripts"
process.env.WORKSPACE_LK = process.env.LIVELY
require('./life_star')({
host: 'localhost',
port: 9001,
fsNode: process.env.LIVELY,
enableTesting: true,
logLevel: 'debug',
subservers: {
"CommandLineServer": "/Users/robert/Dropbox/Projects/LivelyKernel/core/servers/CommandLineServer.js",
"HanaInterfaceServer": "/Users/robert/Dropbox/Projects/LivelyKernel/core/servers/HanaInterfaceServer.js",
"HighScoreServer": "/Users/robert/Dropbox/Projects/LivelyKernel/core/servers/HighScoreServer.js",
"LogServer": "/Users/robert/Dropbox/Projects/LivelyKernel/core/servers/LogServer.js",
"NodeJSEvalServer": "/Users/robert/Dropbox/Projects/LivelyKernel/core/servers/NodeJSEvalServer.js",
"QBFScoresServer": "/Users/robert/Dropbox/Projects/LivelyKernel/core/servers/QBFScoresServer.js",
"RServer": "/Users/robert/Dropbox/Projects/LivelyKernel/core/servers/RServer.js",
"RServer2": "/Users/robert/Dropbox/Projects/LivelyKernel/core/servers/RServer2.js",
"SearchServer": "/Users/robert/Dropbox/Projects/LivelyKernel/core/servers/SearchServer.js",
"SessionTracker": "/Users/robert/Dropbox/Projects/LivelyKernel/core/servers/SessionTracker.js",
"SimpleSync": "/Users/robert/Dropbox/Projects/LivelyKernel/core/servers/SimpleSync.js",
"WebSocketExample": "/Users/robert/Dropbox/Projects/LivelyKernel/core/servers/WebSocketExample.js"
}
});
// var reporter = require('nodeunit').reporters.default;
// reporter.run(['tests/manifest-test.js']);
// lifeStarTest = require("./tests/life_star-test-support"),
// lifeStarTest.withLifeStarDo({done: function() { }}, function(server) {
// // lifeStarTest.GET('/', function(res) {
// require('child_process').exec('curl http://localhost:9999/simple.html', function(code, out) {
// // console.log('done %s', out);
// server.close();
// });
// });