We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5411fc4 commit b5bbfccCopy full SHA for b5bbfcc
docs/frontend/legacy.md
@@ -4,12 +4,24 @@ title: 传统部署
4
5
::: steps
6
7
-1. 打包
+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. 打包
20
21
```shell
22
pnpm build
23
```
24
-2. 上传
25
+3. 上传
26
27
将 `/apps/web-antd/dist` 目录下的所有文件上传到服务器的 `/var/www/fba_ui/` 目录下
0 commit comments