docs: 更新Windows环境下启动项目

This commit is contained in:
Ying
2022-08-23 12:23:46 +08:00
parent f9831aad9e
commit 4571fef039

View File

@@ -61,10 +61,17 @@
* 安装PHP版本 >= 7.3 <= 8.1
* 安装PHP扩展fileinfo opcache redis imagemagick exif
* 开发环境下关闭禁用PHP函数exec、putenv、proc_open、proc_get_status、pcntl_signal[如果存在]
* Linux环境下请关闭禁用pcntl_类函数生产环境可以逐个去除
```
<font color="#dd0000">2、Windows环境下启动开发服务</font>
```
找到根目录下的Windows.bat文件双击执行该文件即可启动服务。
1、执行php windows.php start 进行基础开发例如APP/CONFIG/ROUTE等
2、执行Windows.bat 进行完整开发例如APP/PLUGIN/extend
因为我们在项目中使用了fileboy热更新工具那么在加载插件的时候会导致问题因为要加载的文件过多
所以我们建议首先把项目clone到本地后先执行 php windows.php start,安装完毕插件助手后,再进行完整开发,这样就不会出现问题了;
```
3、Linux环境下启动开发服务
```