Bug fixes + interactive setup UI

This commit is contained in:
NGPixel
2017-02-26 18:06:20 -05:00
parent 3300d42866
commit 9414380c9f
14 changed files with 257 additions and 10 deletions

View File

@@ -9,11 +9,7 @@
global.PROCNAME = 'SERVER'
global.ROOTPATH = __dirname
global.IS_DEBUG = process.env.NODE_ENV === 'development'
if (IS_DEBUG) {
global.CORE_PATH = ROOTPATH + '/../core/'
} else {
global.CORE_PATH = ROOTPATH + '/node_modules/requarks-core/'
}
global.CORE_PATH = (IS_DEBUG) ? ROOTPATH + '/../core/' : ROOTPATH + '/node_modules/requarks-core/'
process.env.VIPS_WARNING = false