forked from aga3134/AirPollution
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig-template.js
More file actions
37 lines (30 loc) · 841 Bytes
/
Copy pathconfig-template.js
File metadata and controls
37 lines (30 loc) · 841 Bytes
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
var config = {};
config.googleAuth = {
'clientID' : 'YourClientID',
'clientSecret' : 'YourClientSecret',
'callbackURL' : 'http://YourHostDomain/auth/google/callback'
};
config.mysqlAuth = {
dbName: 'YourDatabaseName',
username: 'YourDatabaseUserName',
password: 'YourDatabasePassword'
};
config.sessionConfig = {
secret: "YourSessionSecret"
}
config.smtpConfig = {
host: 'smtp.gmail.com',
port: 465,
secure: true, // use SSL
auth: {
user: 'YourGmail', //需到 https://www.google.com/settings/security/lesssecureapps 改成less secure
pass: 'YourPassword'
},
dst: "TheEmailDesinationYouWantToSend"
};
config.dataSrcFolder = "./data/";
config.dataDoneFolder = "./data/done/";
config.gridPerUnit = 100;
config.levelNum = 6;
config.serverPort = 8001;
module.exports = config;