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的共享库)
|
- Windows (需要自行安装gmssl的共享库)
|
||||||
|
|
||||||
该项目依赖以下软件:
|
该项目依赖以下软件:
|
||||||
python 3.11
|
python 3.12
|
||||||
gmssl
|
gmssl v3.1.1
|
||||||
gmssl-python
|
gmssl-python 2.2.2
|
||||||
|
|
||||||
### Docker 版本安装
|
### Docker 版本安装
|
||||||
|
|
||||||
@ -46,9 +46,9 @@ chmod +x install_docker.sh
|
|||||||
|
|
||||||
docker 版本:
|
docker 版本:
|
||||||
|
|
||||||
- 版本: 24.0.5
|
- 版本: 24.0.5
|
||||||
- API 版本: 1.43
|
- API 版本: 1.43
|
||||||
- Go 版本: go1.20.6
|
- Go 版本: go1.20.6
|
||||||
|
|
||||||
## 安装步骤
|
## 安装步骤
|
||||||
|
|
||||||
@ -56,6 +56,14 @@ docker 版本:
|
|||||||
|
|
||||||
本项目依赖gmssl,所以请提前安装好。访问 [GmSSL](https://github.com/guanzhi/GmSSL) 可以看到如何安装。
|
本项目依赖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库
|
然后安装必要的python库
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
12
README_en.md
12
README_en.md
@ -30,9 +30,9 @@ System requirements:
|
|||||||
|
|
||||||
The project relies on the following software:
|
The project relies on the following software:
|
||||||
|
|
||||||
- Python 3.11
|
- Python 3.12
|
||||||
- gmssl
|
- gmssl v3.1.1
|
||||||
- gmssl-python
|
- gmssl-python 2.2.2
|
||||||
|
|
||||||
### Docker installer
|
### Docker installer
|
||||||
|
|
||||||
@ -46,9 +46,9 @@ chmod +x install_docker.sh
|
|||||||
|
|
||||||
docker version:
|
docker version:
|
||||||
|
|
||||||
- Version: 24.0.5
|
- Version: 24.0.5
|
||||||
- API version: 1.43
|
- API version: 1.43
|
||||||
- Go version: go1.20.6
|
- Go version: go1.20.6
|
||||||
|
|
||||||
## Installation Steps
|
## Installation Steps
|
||||||
|
|
||||||
|
@ -6,7 +6,6 @@ mkdir include
|
|||||||
cp gmssl/include include
|
cp gmssl/include include
|
||||||
|
|
||||||
mkdir gmssl/build
|
mkdir gmssl/build
|
||||||
cd gmssl/build
|
cd gmssl/build || exit
|
||||||
cmake ..
|
cmake ..
|
||||||
make
|
sudo make install
|
||||||
cp bin/lib* ../../lib
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
gmssl-python
|
gmssl-python>=2.2.2,<3.0.0
|
||||||
fastapi
|
fastapi
|
||||||
uvicorn
|
uvicorn
|
||||||
requests
|
requests
|
Loading…
x
Reference in New Issue
Block a user