Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
马玮
/
carspider
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
273245b6
authored
Aug 29, 2017
by
马玮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix production
parent
9e911243
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
17 deletions
+9
-17
accountTool.js
+4
-0
boot.js
+2
-1
config/.gitignore
+3
-0
config/default.toml
+0
-16
No files found.
accountTool.js
View file @
273245b6
...
...
@@ -3,6 +3,10 @@ User: MaWei
Date: 2017.7.31
*/
'use strict'
;
// 初始化环境变量
process
.
env
.
NODE_ENV
=
process
.
env
.
NODE_ENV
||
'production'
;
process
.
env
.
NODE_CONFIG_DIR
=
__dirname
+
'/config'
;
const
program
=
require
(
'commander'
);
global
.
__basedir
=
__dirname
;
...
...
boot.js
View file @
273245b6
...
...
@@ -3,7 +3,8 @@ User: MaWei
Date: 2017.7.31
*/
'use strict'
;
// 配置文件根路径
// 初始化环境变量
process
.
env
.
NODE_ENV
=
process
.
env
.
NODE_ENV
||
'production'
;
process
.
env
.
NODE_CONFIG_DIR
=
__dirname
+
'/config'
;
const
program
=
require
(
'commander'
);
...
...
config/.gitignore
0 → 100644
View file @
273245b6
!production.toml
!.gitignore
\ No newline at end of file
config/default.toml
View file @
273245b6
...
...
@@ -31,22 +31,6 @@ FOUR_LETTERS = 2040 # 四个英文字母
FOUR_CHARACTERS
=
3040
# 四个字母数字混合
ARITHMETIC
=
7100
# 算术题
[DB.NODES.MASTER_CRM]
host
=
'rm-bp
10
h
7
b
832629
p
429
o.mysql.rds.aliyuncs.com'
port
=
3306
user
=
'car_base'
password
=
'car_base
2046
'
database
=
'car_crm'
connectionLimit
=
500
[DB.NODES.MASTER_CAR]
host
=
'rm-bp
10
h
7
b
832629
p
429
o.mysql.rds.aliyuncs.com'
port
=
3306
user
=
'car_base'
password
=
'car_base
2046
'
database
=
'car_new_test'
connectionLimit
=
500
[CLUE_INPUT_TYPE]
autohome
=
18
easypass
=
21
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment