1 Star 0 Fork 0

chengyao / note

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
max
Loading...
README.md

起步

Max-Blog 基于 Max-PHP开发

环境要求

php >= 8.0

使用

下载压缩包,解压, 将.example.env文件修改为.env

因为一些原因,必须开启redis

配置数据库(mysql)配置文件/config/database.php中的配置。 在项目目录运行php max install 根据提示安装。 php max serve 打开博客

常见问题

Uncaught Error: Interface "Max\Swoole\Contracts\WebSocketControllerInterface" not found in C:\Users\ChengYao\Desktop\note
app\Http\Controllers\WebSocket\Chat.php:14

这个是因为现在去掉了Swoole相关的功能,如果开启注解路由会导致报错,所以关闭注解路由或者将Websocket控制器注解移除即可

提示***表不存在

使用 php max install 安装即可,不要重复安装,否则之前的数据会全部丢失。

composer install 之后抛出FileNotFoundException, 请修改.env文件之后执行 php max vendor:publish

Repository Comments ( 0 )

Sign in to post a comment

About

No description expand collapse
JavaScript and 6 more languages
Apache-2.0
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
1
https://gitee.com/cheng-yao/note.git
git@gitee.com:cheng-yao/note.git
cheng-yao
note
note
master

Search

182229 41614e54 1850385 182230 7885ed45 1850385