-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsettingsConstr.js
45 lines (43 loc) · 1.02 KB
/
settingsConstr.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// constructs g.settings object
module.exports = function () {
var appRoot = m.path.normalize(__dirname + '/');
g.settings = {
appRoot: appRoot,
classLoader: {
baseDir: m.path.join(appRoot, 'classes/'),
toLoad: [
'Server',
'LessWatch'
]
},
Server: {
webroot: 'www',
port: 3000
},
LessWatch: {
paths: {
watchDirs: [
'./less/**/*.less'
],
lessInput: [
'./less/all.less'
],
cssOutput: './www/css'
}
},
MONGOOSE: {
connect: 'true',
host: 'localhost',
database: 'test',
user: '',
pass: ''
},
MYSQL: {
connect: 'false',
host: 'localhost',
database: '',
user: 'root',
pass: ''
}
};
};