x 项目数据入库
Go to file
2020-11-13 15:38:30 +08:00
handler init 2020-11-13 15:27:13 +08:00
.gitignore init 2020-11-13 15:27:13 +08:00
ca-cert init 2020-11-13 15:27:13 +08:00
main.py init 2020-11-13 15:27:13 +08:00
README.md 更新README 2020-11-13 15:28:59 +08:00
setting.py 从环境变量获取mongo连接 2020-11-13 15:38:30 +08:00

x项目 数据消费

添加环境变量

# 必须 本地mongo连接
export local_mongo_uri="mongodb://root:iamciniao@127.0.0.1:27017/?authSource=admin&readPreference=primary&ssl=false"

# 可选 默认为debug env
export xlegudata_env="production"