Skip to content

Commit b5bbfcc

Browse files
committed
update docs
1 parent 5411fc4 commit b5bbfcc

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

docs/frontend/legacy.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,24 @@ title: 传统部署
44

55
::: steps
66

7-
1. 打包
7+
1. 准备 Nginx
8+
9+
以 Ubuntu 为例:
10+
11+
```shell
12+
sudo apt update
13+
sudo apt install nginx -y
14+
```
15+
16+
[nginx.conf](https://github.com/fastapi-practices/fastapi_best_architecture_ui/blob/master/scripts/deploy/nginx.conf)
17+
替换到 `/etc/nginx/nginx.conf`
18+
19+
2. 打包
820

921
```shell
1022
pnpm build
1123
```
1224

13-
2. 上传
25+
3. 上传
1426

1527
`/apps/web-antd/dist` 目录下的所有文件上传到服务器的 `/var/www/fba_ui/` 目录下

0 commit comments

Comments
 (0)