Skip to content

Commit f929190

Browse files
committed
Added settings.labvm.json
1 parent ae8d42d commit f929190

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
"reflect-metadata": "0.1.2",
4949
"rxjs": "5.0.0-beta.6",
5050
"simplemde": "^1.11.2",
51-
"winston": "^2.2.0",
51+
"winston": "2.2.0",
5252
"zone.js": "^0.6.12",
53-
"winston-mongodb": "~1.6.0"
53+
"winston-mongodb": "^0.5.3"
5454
},
5555
"devDependencies": {
5656
"bson": "^0.5.0",

private/settings.labvm.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"labvm_default_image":"tuxlab_labvm",
3+
"labvm_idle_timeout":"14400"
4+
}

server/main.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ import "./imports/startup/index.js";
1111
/* COLLECTIONS */
1212
Collections = {};
1313

14+
// Logs
15+
Collections.logs = logs_collection;
16+
TuxLog.log('info','TuxLab Started!');
17+
1418
// Users
1519
import "../collections/users.ts";
1620

@@ -26,7 +30,6 @@ Collections.labs = labs;
2630
import {course_records} from "../collections/course_records.ts";
2731
Collections.course_records = course_records;
2832

29-
Collections.logs = logs_collection;
3033

3134
//import meteor methods
3235
// LabFile Cache

0 commit comments

Comments
 (0)