Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
lichenggang
/
bom_identify
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
65e6e41f
authored
Dec 09, 2020
by
lichenggang
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
线上配置
parent
b033bed1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
config.py
config.py
View file @
65e6e41f
...
...
@@ -9,7 +9,9 @@ project_path = os.path.abspath(os.path.dirname(__file__))
if
ENVIRONMENT
==
'test'
:
model_config
[
'modextr_path'
]
=
project_path
+
r'/'
+
'models_and_extractors/'
redis_config
=
{
'host'
:
'192.168.1.235'
,
'port'
:
6379
,
'decode_responses'
:
True
,
'password'
:
'icDb29mLy2s'
}
else
:
model_config
[
'modextr_path'
]
=
project_path
+
r'/'
+
'models_and_extractors/'
redis_config
=
{
'host'
:
'127.0.0.1'
,
'port'
:
6379
,
'decode_responses'
:
True
,
'password'
:
'icDb29mLy2s'
}
redis_config
=
{
'host'
:
'192.168.1.235'
,
'port'
:
6379
,
'decode_responses'
:
True
,
'password'
:
'icDb29mLy2s'
}
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