From d2e16c7ffc7f7e68b12ef298bff66df1d53aa886 Mon Sep 17 00:00:00 2001 From: choger Date: Tue, 21 Jan 2025 14:33:00 +0000 Subject: [PATCH] =?UTF-8?q?update=20guide/other/developerMustSee.md.=20?= =?UTF-8?q?=E6=9B=B4=E6=94=B9=E5=90=8E=E5=8F=AF=E4=BB=A5=E8=AE=A9=E5=88=9D?= =?UTF-8?q?=E5=AD=A6=E8=80=85=E6=9B=B4=E5=AE=B9=E6=98=93=E7=90=86=E8=A7=A3?= =?UTF-8?q?=E4=B8=80=E4=BA=9B=E5=90=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: choger --- guide/other/developerMustSee.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/guide/other/developerMustSee.md b/guide/other/developerMustSee.md index eb0773c..aaec2db 100644 --- a/guide/other/developerMustSee.md +++ b/guide/other/developerMustSee.md @@ -8,9 +8,9 @@ ### 开发环境搭建 1. 在 `本地PC` 上安装好 `BuildAdmin` 系统,作为开发环境,有疑问请[看完这三点常见问题](/guide/other/developerMustSee.html#%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98)。 -2. 全程使用 `php think run` 命令启动的服务来进行开发工作,**不开启** `Nginx、Apache` 之类的服务器软件,可参考:[启动安装服务](https://doc.buildadmin.com/guide/install/start.html#%E5%90%AF%E5%8A%A8%E5%AE%89%E8%A3%85%E6%9C%8D%E5%8A%A1) +2. 全程使用 `php think run` 命令启动的服务来进行开发工作,**不用开启** `Nginx、Apache` 之类的服务器软件,可参考:[启动安装服务](https://doc.buildadmin.com/guide/install/start.html#%E5%90%AF%E5%8A%A8%E5%AE%89%E8%A3%85%E6%9C%8D%E5%8A%A1) 3. 在安装 `BuildAdmin` 时您已经填写了系统的数据库资料,需要开启对应的数据库服务,数据库资料被保存在 `config/database.php` 文件。 -4. 在 `/web` 目录内,执行 `npm run dev` 命令,在浏览器打开 [localhost:1818](http://localhost:1818/),域名一定是 `localhost`(后端已配置它允许跨域)。 +4. 在 `/web` 目录内,执行 `npm run dev` 命令,在浏览器打开 [localhost:1818](http://localhost:1818/),域名必须是 `localhost`(后端已配置它允许跨域)。 5. 开发时,建议开启 `TP框架` 的调试模式并了解如何调试接口,参考:[开启调试模式](https://doc.buildadmin.com/senior/server/debug.html) 和 [调试接口](https://doc.buildadmin.com/senior/server/apiDebug.html)。 6. 我们还为您准备了 [代码编辑器配置](https://doc.buildadmin.com/senior/codeEditor.html) 和 [系统运行流程](https://doc.buildadmin.com/senior/process.html) 文档,也值得一看。 @@ -32,4 +32,4 @@ **3. 每次改动都需要 `重新发布` ?** -错误。如以上的第 `2` 点所描述,只需要启动热更新服务进行开发工作即可,只在开发工作完成将要上线时,才进行重新发布。 +错误。如以上的第 `2` 点所描述,启动热更新服务(`web` 目录下执行 `npm run dev`)进行开发工作时无需重新发布;只在开发工作完成将要上线时,才进行重新发布。 -- Gitee