update doc and requirement
This commit is contained in:
parent
68ed843777
commit
ca253dbb77
20
README.md
20
README.md
@ -30,9 +30,9 @@
|
||||
- Windows (需要自行安装gmssl的共享库)
|
||||
|
||||
该项目依赖以下软件:
|
||||
python 3.11
|
||||
gmssl
|
||||
gmssl-python
|
||||
python 3.12
|
||||
gmssl v3.1.1
|
||||
gmssl-python 2.2.2
|
||||
|
||||
### Docker 版本安装
|
||||
|
||||
@ -46,9 +46,9 @@ chmod +x install_docker.sh
|
||||
|
||||
docker 版本:
|
||||
|
||||
- 版本: 24.0.5
|
||||
- API 版本: 1.43
|
||||
- Go 版本: go1.20.6
|
||||
- 版本: 24.0.5
|
||||
- API 版本: 1.43
|
||||
- Go 版本: go1.20.6
|
||||
|
||||
## 安装步骤
|
||||
|
||||
@ -56,6 +56,14 @@ docker 版本:
|
||||
|
||||
本项目依赖gmssl,所以请提前安装好。访问 [GmSSL](https://github.com/guanzhi/GmSSL) 可以看到如何安装。
|
||||
|
||||
本项目也提供了submodule的方式,可以直接使用
|
||||
|
||||
```bash
|
||||
git clone --recurse-submodules https://git.mamahaha.work/sangge/tpre-python.git
|
||||
chmod +x install_gmssl.sh
|
||||
./install_docker.sh
|
||||
```
|
||||
|
||||
然后安装必要的python库
|
||||
|
||||
```bash
|
||||
|
12
README_en.md
12
README_en.md
@ -30,9 +30,9 @@ System requirements:
|
||||
|
||||
The project relies on the following software:
|
||||
|
||||
- Python 3.11
|
||||
- gmssl
|
||||
- gmssl-python
|
||||
- Python 3.12
|
||||
- gmssl v3.1.1
|
||||
- gmssl-python 2.2.2
|
||||
|
||||
### Docker installer
|
||||
|
||||
@ -46,9 +46,9 @@ chmod +x install_docker.sh
|
||||
|
||||
docker version:
|
||||
|
||||
- Version: 24.0.5
|
||||
- API version: 1.43
|
||||
- Go version: go1.20.6
|
||||
- Version: 24.0.5
|
||||
- API version: 1.43
|
||||
- Go version: go1.20.6
|
||||
|
||||
## Installation Steps
|
||||
|
||||
|
@ -6,7 +6,6 @@ mkdir include
|
||||
cp gmssl/include include
|
||||
|
||||
mkdir gmssl/build
|
||||
cd gmssl/build
|
||||
cd gmssl/build || exit
|
||||
cmake ..
|
||||
make
|
||||
cp bin/lib* ../../lib
|
||||
sudo make install
|
||||
|
@ -1,4 +1,4 @@
|
||||
gmssl-python
|
||||
gmssl-python>=2.2.2,<3.0.0
|
||||
fastapi
|
||||
uvicorn
|
||||
requests
|
Loading…
x
Reference in New Issue
Block a user