Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
Signed-off-by: Jat <[email protected]>
  • Loading branch information
jat001 committed Aug 29, 2022
1 parent 01a9ab5 commit a8a9cd2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 24 deletions.
1 change: 1 addition & 0 deletions deploy/standalone-deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ docker tag ccr.ccs.tencentyun.com/federatedai/standalone_fate:${version} federat

```bash
docker exec -it $(docker ps -aqf "name=standalone_fate") bash
source bin/init_env.sh
```

- [test item](#4-test-items)
Expand Down
1 change: 1 addition & 0 deletions deploy/standalone-deploy/README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ docker tag ccr.ccs.tencentyun.com/federatedai/standalone_fate:${version} federat

```bash
docker exec -it $(docker ps -aqf "name=standalone_fate") bash
source bin/init_env.sh
```

- [测试项](#4-测试项)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,23 +46,13 @@ export version=`grep "FATE=" ${FATE_PROJECT_BASE}/fate.env | awk -F "=" '{print

### 4.1 Installing the Python environment (optional)

Please install or use existing Python version 3.6 or 3.7, preferably 3.6.5, which is the official and heavily tested version of the FATE team.
Please install or use existing Python version 3.8

### 4.2 Configuring a virtual environment for FATE

```bash
virtualenv --version
```

If the version information is returned normally, then the virtual environment tool is installed, if the command does not exist, please install it yourself, in most cases you can use a similar command to install

```bash
pip install virtualenv
```

```bash
cd(or create) {root directory for the virtual environment}
virtualenv {name of virtual environment}
python3 -m venv {虚拟环境名称}
export FATE_VENV_BASE={root directory for the virtual environment}/{name of virtual environment}
source ${FATE_VENV_BASE}/bin/activate
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,23 +48,13 @@ export version=`grep "FATE=" ${FATE_PROJECT_BASE}/fate.env | awk -F "=" '{print

### 4.1 安装Python环境(可选)

请安装或者使用已有的Python 3.6 或者 3.7 版本,最好使用3.6.5,其为FATE团队官方大量测试版本
请安装或者使用已有的 Python 3.8 版本

### 4.2 为FATE配置虚拟环境

```bash
virtualenv --version
```

若能正常返回版本信息, 则虚拟环境工具已安装, 若提示命令不存在, 请自行安装,大多情况下可以使用类似命令安装

```bash
pip install virtualenv
```

```bash
cd(or create) {放置虚拟环境的根目录}
virtualenv {虚拟环境名称}
python3 -m venv {虚拟环境名称}
export FATE_VENV_BASE={放置虚拟环境的根目录}/{虚拟环境名称}
source ${FATE_VENV_BASE}/bin/activate
```
Expand Down

0 comments on commit a8a9cd2

Please sign in to comment.