Update guide setup commands

This commit is contained in:
fawney19
2026-05-14 13:02:25 +08:00
parent 509bd30252
commit 48fe52b207
2 changed files with 6 additions and 6 deletions

View File

@@ -65,7 +65,7 @@ const localBuildSteps = [
{ {
title: '更新', title: '更新',
note: '需要拉取最新代码', note: '需要拉取最新代码',
code: 'git pull origin master', code: 'git pull origin main',
icon: Code, icon: Code,
optional: true optional: true
} }
@@ -474,7 +474,7 @@ function copyStep(stepId: string, code: string) {
<h3>1. Aether-Proxy</h3> <h3>1. Aether-Proxy</h3>
<p>Rust实现, 超小资源占有, 适合性能低的VPS直接使用。</p> <p>Rust实现, 超小资源占有, 适合性能低的VPS直接使用。</p>
<a <a
href="https://github.com/fawney19/Aether/tree/master/aether-proxy" href="https://github.com/fawney19/Aether/tree/main/aether-proxy"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
class="text-[#cc785c] dark:text-[#d4a27f] hover:underline mt-2 inline-block" class="text-[#cc785c] dark:text-[#d4a27f] hover:underline mt-2 inline-block"

View File

@@ -11,7 +11,7 @@ cd Aether
# 2. 配置环境变量 # 2. 配置环境变量
cp .env.example .env cp .env.example .env
python generate_keys.py # 生成密钥, 并将生成的密钥填入 .env ./generate_keys.sh # 生成密钥, 并将生成的密钥填入 .env
# 3. 部署 / 更新(自动执行数据库迁移) # 3. 部署 / 更新(自动执行数据库迁移)
docker compose pull && docker compose up -d docker compose pull && docker compose up -d
@@ -28,13 +28,13 @@ cd Aether
# 2. 配置环境变量 # 2. 配置环境变量
cp .env.example .env cp .env.example .env
python generate_keys.py # 生成密钥, 并将生成的密钥填入 .env ./generate_keys.sh # 生成密钥, 并将生成的密钥填入 .env
# 3. 构建(自动构建、启动、迁移) # 3. 构建(自动构建、启动、迁移)
./deploy.sh ./deploy.sh
# 4. 更新需要拉取最新代码 # 4. 更新需要拉取最新代码
git pull origin master git pull origin main
``` ```
### 3. 本地开发 ### 3. 本地开发
@@ -119,7 +119,7 @@ cd frontend && npm install && npm run dev
1. **Aether-Proxy** 1. **Aether-Proxy**
Rust实现, 超小资源占有, 适合性能低的vps直接使用。 Rust实现, 超小资源占有, 适合性能低的vps直接使用。
[https://github.com/fawney19/Aether/tree/master/aether-proxy](https://github.com/fawney19/Aether/tree/master/aether-proxy) [https://github.com/fawney19/Aether/tree/main/aether-proxy](https://github.com/fawney19/Aether/tree/main/aether-proxy)
2. **代理节点** 2. **代理节点**
在模块管理中, 开启代理模块后可以添加和使用代理功能, 包括手动添加和Aether-Proxy自动连接。 在模块管理中, 开启代理模块后可以添加和使用代理功能, 包括手动添加和Aether-Proxy自动连接。