matrix-dimension/app.js
2017-05-26 21:51:48 -06:00

10 lines
374 B
JavaScript

var log = require("./src/util/LogService");
var Dimension = require("./src/Dimension");
var DimensionStore = require("./src/storage/DimensionStore");
log.info("app", "Bootstrapping Dimension...");
var db = new DimensionStore();
db.prepare().then(() => {
var app = new Dimension(db);
app.start();
}, err => log.error("app", err)).catch(err => log.error("app", err));