forked from petitspois/docs.ren
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemp.config.js
75 lines (55 loc) · 1.07 KB
/
temp.config.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
var root = require('../app');
module.exports = {
//域名
docsdomian:'http://****',
//model
model:root + '/model',
//views
views:root + '/views',
//control
controller:root + '/controller',
//static
static:root + '/assets',
//github oauth
oauth:{
id:'****',
secret:'****'
},
oauthState:'****',
//mongodb contection
mongodb: 'mongodb://****',
//session secrect
secret:'****',
//supervisor port
port:****,
//七牛上传设置
qn_access: {
accessKey: '****',
secretKey: '****',
bucket: '****',
domain: '****'
},
//邮件设置
smtp:{
host:'****',
port:****,
auth:{
user:'****',
pass:'****'
}
},
//积分设置
level:{
//发布 create post or docs or comment or good
///发布文章
cp:5,
///发布文档
cd:7,
///评论
cc:2,
///精华
cg:5
},
enableStatic:true,
debug:true
}