Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update README #125

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion install/docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ docker build -t ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard:frontend-2
## 镜像拉取(如果你不参与开发可以直接使用线上镜像)
```
docker pull ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard:2022.09.01
docker pull ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard:frontend-2022.09.01
# 08.01版本,标签不同请注意
docker pull ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard:frontend-2022.08.01
# 09.01及10.01版本
docker pull ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard-frontend:2022.09.01
```

## deploy myapp (docker-compose)
Expand All @@ -56,6 +59,19 @@ pip3 install -r requirements.txt -r requirements-dev.txt
```
本地安装python包,避免本地打开代码时大量包缺失报错


或者可以直接进入dashborard镜像容器内,将python包导出,然后复制到宿主机
```
pip3 freeze > requirements-from-img.txt
```

注意:
- 目前(2022.11.8)提供镜像中python版本为3.6.9, setuptools版本为53.0.0
- setuptools版本过新部分包安装会报错`use_2to3`
- 通过导出镜像内包依赖来安装仍然会导出部分包依赖出问题
- 需手动修改部分包的版本
- 若安装pydruid==0.5.6时报错可以尝试`pip install pytest-runner`解决

#### 本地后端代码调试

需要在docker-compose运行调试,通过日志进行debug,建议学习下pysnooper包的使用
Expand Down
2 changes: 1 addition & 1 deletion install/docker/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ mypy==0.670
nose==1.3.7
pip-tools==3.7.0
pre-commit==1.17.0
psycopg2-binary==2.7.5
psycopg2-binary==2.8 #bug 2.7.5
pycodestyle==2.5.0
pydruid==0.5.6
pyhive==0.6.1
Expand Down
10 changes: 5 additions & 5 deletions install/docker/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ celery==4.3.0
certifi==2019.6.16 # via requests
cffi==1.12.3 # via cryptography
chardet==3.0.4 # via requests
click==6.7
click==7.1.2 # 6.7 bug
colorama==0.4.1
contextlib2==0.5.5
croniter==0.3.30
Expand Down Expand Up @@ -62,8 +62,8 @@ python-editor==1.0.4 # via alembic
python-geohash==0.8.5
python3-openid==3.1.0 # via flask-openid
pytz==2019.2 # via babel, celery, pandas
pyyaml==5.1.2
retry==0.9.2
pyyaml==5.4.1 # bug 5.1.2
retry==0.9.2
selenium==3.141.0
simplejson==3.16.0
six==1.12.0 # via bleach, cryptography, flask-jwt-extended, flask-talisman, isodate, jsonschema, pathlib2, polyline, prison, pydruid, pyrsistent, python-dateutil, sqlalchemy-utils, wtforms-json
Expand All @@ -81,8 +81,8 @@ wtforms==2.2.1 # via flask-wtf, wtforms-json
# setuptools==41.0.1 # via jsonschema, markdown

docstring-parser==0.14.1
kfp==1.8.0
kfp==1.8.8 #1.8.0 bug
kubernetes==18.20.0
click==6.7
click==7.1.2 #6.7 bug
jaeger-client==4.6.1
opentracing-instrumentation==3.3.1