liweiquan ca5d6bca55 数据转存userid获取修改 | 2 years ago | |
---|---|---|
app | 2 years ago | |
assets | 2 years ago | |
auo_tests | 2 years ago | |
configs | 2 years ago | |
constants | 2 years ago | |
dag | 2 years ago | |
data | 2 years ago | |
docker | 2 years ago | |
utils | 2 years ago | |
.gitignore | 2 years ago | |
Dockerfile | 2 years ago | |
Makefile | 2 years ago | |
README.md | 2 years ago | |
debug.ipynb | 2 years ago | |
delete.py | 2 years ago | |
development.ini | 2 years ago | |
docker-compose.yml | 2 years ago | |
environment.yml | 2 years ago | |
idctest.ini | 2 years ago | |
production.ini | 2 years ago | |
rdbms-example.json | 2 years ago | |
rdbms-template.json | 2 years ago | |
render_script_to_dag_manual.ipynb | 2 years ago | |
requirements.txt | 2 years ago | |
run.py | 2 years ago | |
run_delete.py | 2 years ago | |
server.py | 2 years ago | |
sxkj.ini | 2 years ago | |
txprod.ini | 2 years ago | |
txtest.ini | 2 years ago |
用于 dag 平台:
conda env create environment.yml
conda activate py38
python run.py
在 k8s 生产环境设置 pod 的环境变量 APP_ENV=production
# 打包镜像
make image
# 打包镜像 + 用docker-compose启动容器
make deploy
# 在远程服务器的 REMOTE_WORKSPACE 下部署
make remote