first commit
This commit is contained in:
36
README.md
36
README.md
@@ -72,13 +72,13 @@ https://your-domain.github.io/n8n-guide
|
||||
|
||||
如果您希望在本地运行或贡献内容,请按以下步骤操作:
|
||||
|
||||
#### 环境要求
|
||||
#### 方式一:Python直接运行
|
||||
|
||||
**环境要求**:
|
||||
- Python 3.7+
|
||||
- pip 包管理器
|
||||
|
||||
#### 安装步骤
|
||||
|
||||
**安装步骤**:
|
||||
1. **克隆项目**
|
||||
```bash
|
||||
git clone https://github.com/your-username/n8n-guide.git
|
||||
@@ -100,6 +100,36 @@ https://your-domain.github.io/n8n-guide
|
||||
4. **访问文档**
|
||||
打开浏览器访问 `http://127.0.0.1:8000`
|
||||
|
||||
#### 方式二:Docker部署(推荐)
|
||||
|
||||
**环境要求**:
|
||||
- Docker
|
||||
- Docker Compose
|
||||
|
||||
**一键部署**:
|
||||
```bash
|
||||
# 启动服务
|
||||
./start.sh
|
||||
|
||||
# 或者使用Docker Compose
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
**访问文档**:
|
||||
打开浏览器访问 `http://localhost:8000`
|
||||
|
||||
#### 公网服务器部署
|
||||
|
||||
**部署到公网服务器**:
|
||||
```bash
|
||||
# 上传项目文件到服务器
|
||||
# 运行部署脚本
|
||||
./deploy.sh
|
||||
```
|
||||
|
||||
**访问地址**:
|
||||
`http://your-server-ip:8000`
|
||||
|
||||
#### 构建静态站点
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user