Commit 65e6e41f by lichenggang

线上配置

parent b033bed1
Showing with 3 additions and 1 deletions
...@@ -9,7 +9,9 @@ project_path = os.path.abspath(os.path.dirname(__file__)) ...@@ -9,7 +9,9 @@ project_path = os.path.abspath(os.path.dirname(__file__))
if ENVIRONMENT == 'test': if ENVIRONMENT == 'test':
model_config['modextr_path'] = project_path + r'/' + 'models_and_extractors/' 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: else:
model_config['modextr_path'] = project_path + r'/' + 'models_and_extractors/' 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'}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment