Skip to content

Commit

Permalink
chore: use kcl server for automation user guides
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <[email protected]>
  • Loading branch information
Peefy committed Nov 14, 2023
1 parent 4d94c7b commit ff0a3c1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions docs/user_docs/guides/automation.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,7 @@ In addition, we can automatically modify the configuration attributes through th
Take the RestAPI as an example. The RestAPI service can be started in the following way:

```bash
python3 -m pip install kclvm -U
python3 -m gunicorn "kclvm.program.rpc-server.__main__:create_app()" -t 120 -w 4 -k uvicorn.workers.UvicornWorker -b :2021
kcl server
```

The service can then be requested via the POST protocol:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,7 @@ app:
执行如下命令启动 RestAPI 服务端

```bash
python3 -m pip install kclvm -U
python3 -m gunicorn "kclvm.program.rpc-server.__main__:create_app()" -t 120 -w 4 -k uvicorn.workers.UvicornWorker -b :2021
kcl server
```

通过如下命令 POST 命令请求配置修改服务
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,7 @@ app:
执行如下命令启动 RestAPI 服务端

```bash
python3 -m pip install kclvm -U
python3 -m gunicorn "kclvm.program.rpc-server.__main__:create_app()" -t 120 -w 4 -k uvicorn.workers.UvicornWorker -b :2021
kcl server
```

通过如下命令 POST 命令请求配置修改服务
Expand Down
3 changes: 1 addition & 2 deletions versioned_docs/version-0.7.0/user_docs/guides/automation.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,7 @@ In addition, we can automatically modify the configuration attributes through th
Take the RestAPI as an example. The RestAPI service can be started in the following way:

```bash
python3 -m pip install kclvm -U
python3 -m gunicorn "kclvm.program.rpc-server.__main__:create_app()" -t 120 -w 4 -k uvicorn.workers.UvicornWorker -b :2021
kcl server
```

The service can then be requested via the POST protocol:
Expand Down

0 comments on commit ff0a3c1

Please sign in to comment.