diff --git a/docs/en/guide/getting-started.md b/docs/en/guide/getting-started.md index 4f492a7..49927ff 100644 --- a/docs/en/guide/getting-started.md +++ b/docs/en/guide/getting-started.md @@ -1,38 +1,18 @@ -# 快速开始 +# Getting Started -## Docker 部署 +This guide will help you get started with License Manager quickly. -### 1. 获取部署文件 +## Installation -复制项目根目录的 `docker-compose.github.image.yml` 文件到你的部署目录: +[Installation instructions] -```bash -# 方式一:直接下载 -curl -O https://raw.githubusercontent.com/cedar-v/license-manager/main/docker-compose.github.image.yml +## Configuration -# 方式二:从项目中复制 -cp docker-compose.github.image.yml /your/deploy/path/ -``` +[Configuration details] -### 2. 提取配置文件 +## Usage Examples -```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/" +[Usage examples] -# 提取前端 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 + + diff --git a/docs/guide/getting-started.md b/docs/guide/getting-started.md index 4f492a7..a9e205e 100644 --- a/docs/guide/getting-started.md +++ b/docs/guide/getting-started.md @@ -1,38 +1,18 @@ # 快速开始 -## Docker 部署 +本指南将帮助您快速开始使用 License Manager。 -### 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 + +