feat: 添加多语言支持和更新文档内容
This commit is contained in:
1 parent
0c22cda478
commit
f62e5710ce
7 files changed
+124
-19
No files matched your search
@@ -0,0 +1,38 @@
|
||||
# 快速开始
|
||||
|
||||
## Docker 部署
|
||||
|
||||
### 1. 获取部署文件
|
||||
|
||||
复制项目根目录的 `docker-compose.github.image.yml` 文件到你的部署目录:
|
||||
|
||||
```bash
|
||||
# 方式一:直接下载
|
||||
curl -O https://raw.githubusercontent.com/cedar-v/license-manager/main/docker-compose.github.image.yml
|
||||
|
||||
# 方式二:从项目中复制
|
||||
cp docker-compose.github.image.yml /your/deploy/path/
|
||||
```
|
||||
|
||||
### 2. 提取配置文件
|
||||
|
||||
```bash
|
||||
# 提取后端配置文件
|
||||
mkdir -p backend-config
|
||||
docker run --rm -v $(pwd)/backend-config:/tmp/config ghcr.io/cedar-v/license-manager-backend:v0.1.0 sh -c "cp -r /app/backend/configs/* /tmp/config/"
|
||||
|
||||
# 提取前端 nginx 配置文件
|
||||
docker run --rm -v $(pwd):/tmp/extract ghcr.io/cedar-v/license-manager-frontend:v0.1.0 sh -c "cp /etc/nginx/conf.d/default.conf /tmp/extract/nginx.conf"
|
||||
```
|
||||
|
||||
### 3. 启动服务
|
||||
|
||||
```bash
|
||||
docker-compose -f docker-compose.github.image.yml up
|
||||
```
|
||||
|
||||
## 访问信息
|
||||
|
||||
- **前端**: http://localhost:18080
|
||||
- **后端 API**: http://localhost:18888
|
||||
- **默认账号**: admin / admin@123
|
||||
@@ -0,0 +1,3 @@
|
||||
# guide
|
||||
|
||||
License Manager is an independent software licensing platform that provides license code generation, distribution, validation, and management services for IoT platforms and other software systems. It offers both online and offline licensing modes with hardware-based binding for enhanced security.
|
||||
@@ -0,0 +1 @@
|
||||
"# License Manager"
|
||||
Reference in new issue
Block a user