Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
周伟奇
/
situ-ocr
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
b0e4531d
authored
2022-11-18 16:45:49 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
update REAMDE
1 parent
8cbc0666
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
28 deletions
README.md
README.md
View file @
b0e4531
...
...
@@ -21,35 +21,35 @@
### 2.1 授权管理
-
获取服务器信息,发给授权人员生成授权文件(已有授权文件忽略此步骤)
```
bin/control.sh systeminfo
```
```
bin/control.sh systeminfo
```
-
授权文件更新
```
bin/control.sh update_license /path_to/xxx.secret
```
```
bin/control.sh update_license /path_to/xxx.secret
```
### 2.2 配置文件
-
编辑
`configs/settings.sh`
```
# 日志目录
LOG_BASE_DIR=${BASE_DIR}/logs
```
# 日志目录
LOG_BASE_DIR=${BASE_DIR}/logs
# 端口
BACKEND_PORT=80
# TODO 此端口随机,不需要配置
TRITON_HTTP_PORT=8000
TRITON_GRPC_PORT=8001
TRITON_METRICS_PORT=8002
# 端口
BACKEND_PORT=80
# TODO 此端口随机,不需要配置
TRITON_HTTP_PORT=8000
TRITON_GRPC_PORT=8001
TRITON_METRICS_PORT=8002
# sanic-worker TODO 可配置
BACKEND_SANIC_WORKER_NUM=4
# sanic-worker TODO 可配置
BACKEND_SANIC_WORKER_NUM=4
# GPU/CPU
# 使用CPU: TRITON_GPUS=
# 使用GPU0/GPU1: TRITON_GPUS=0,1
TRITON_GPUS=0
```
# GPU/CPU
# 使用CPU: TRITON_GPUS=
# 使用GPU0/GPU1: TRITON_GPUS=0,1
TRITON_GPUS=0
```
### 2.3 启动
```
...
...
@@ -63,13 +63,13 @@ bin/control.sh stop all
### 2.5 重启
-
重启后端服务,适用于只更新了授权文件
```
bin/control.sh restart backend
```
```
bin/control.sh restart backend
```
-
重启所有,适用于更新了repo文件夹
```
bin/control.sh restart all
```
```
bin/control.sh restart all
```
### 2.6 日志查看
```
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment