Base Project Files

This commit is contained in:
NGPixel
2016-08-16 20:56:55 -04:00
parent fc939dda50
commit b035a68ca4
20 changed files with 727 additions and 0 deletions

18
server.js Normal file
View File

@@ -0,0 +1,18 @@
// ===========================================
// REQUARKS WIKI
// 1.0.0
// Licensed under AGPLv3
// ===========================================
// ----------------------------------------
// Load modules
// ----------------------------------------
global.winston = require('winston');
winston.info('Requarks Wiki is initializing...');
global.ROOTPATH = __dirname;
var appconfig = require('./models/config')('./config.yml');
global.db = require('./models/db')(appconfig);
global.red = require('./models/redis')(appconfig);