Updates for th e mantra site

This commit is contained in:
kngako
2022-06-17 22:55:52 +02:00
parent d275b96303
commit 29aa196eac
12 changed files with 303 additions and 1324 deletions

12
mantra.press.js Normal file
View File

@@ -0,0 +1,12 @@
const db = require('mantra-db-models');
const server = require('./server/server.js')();
db.init().then(() => {
console.log("Loaded DB.");
return server.run(db);
}).then((port) => {
console.log("Server is running on: ", port);
})
.catch((error) => {
console.error("Failed to run server: ", error);
})