mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
10 lines
374 B
JavaScript
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)); |