Skip to content

Commit bc0ed7b

Browse files
[docs] 調整說明內容
1 parent 6db0f3f commit bc0ed7b

File tree

1 file changed

+8
-23
lines changed

1 file changed

+8
-23
lines changed

README.md

+8-23
Original file line numberDiff line numberDiff line change
@@ -7,43 +7,28 @@ ES 開發的 Nuxt3 x WordPress 版本,專門使用在客製化專案客戶。
77
免費商用,請隨意下載。
88

99
## 環境
10-
11-
- Node -- v18.14.0
10+
- Node -- v16.16.0
1211
- yarn -- 1.22.19
1312

1413
## 安裝步驟
15-
16-
1. 到 /.env 以及 nuxt-app/.env 檔設定基本環境
17-
2. docker-compose up -d
18-
3. cd nuxt-app
19-
4. yarn && yarn dev
20-
5. 專案啟動在
14+
1. 安裝 Docker desktop
15+
2. 到 /.env 以及 nuxt-app/.env 檔設定基本環境
16+
3. docker-compose up -d
17+
4. cd nuxt-app
18+
5. yarn && yarn dev
19+
6. 專案啟動在
2120
nuxt localhost:3000,
2221
wordpress localhost:9000/wp-admin
2322

2423
## 資料庫輸出
25-
2624
1. `sh dump.sh` 將 docker VM 的 DB 資料匯出至 `/db/default/wp.sql`
2725

28-
## 前端上傳步驟
29-
30-
1. stash 未 commit 的檔案後切換至 `deploy` 分支
31-
2. rebase `deploy``master`
32-
3. 確認於 `deploy` 分支下 `yarn build`
33-
4. commit `/.output` 所有檔案
34-
5. 連線主機
35-
6. 於專案資料夾下`/project-name` 輸入 `git reset --hard origin/deploy``git pull origin deploy`
36-
7. 開啟 `pm2` 可以先 `pm2 delete project-name`,或者直接 `pm2 restart project-name`
37-
8. 沒有開過 `pm2``cd /project-name/nuxt-app` 輸入 `pm2 start --env prod`
38-
39-
## 其他套件文件
40-
26+
## 相關文件
4127
- [Nuxt3](https://nuxt.com/)
4228
- [Nuxt Icons](https://github.com/gitFoxCode/nuxt-icons)
4329
- [Formkit](https://formkit.com/getting-started/what-is-formkit)
4430

4531
## Git Commit Type 規範
46-
4732
1. feat: 新增/修改功能 (feature)。
4833
2. fix: 修補 bug (bug fix)。
4934
3. docs: 文件,增加說明 (documentation)。

0 commit comments

Comments
 (0)