From c6613c5cf294cb1bcafe5543b01ac098e3edfcad Mon Sep 17 00:00:00 2001 From: net909 Date: Wed, 3 Apr 2024 20:55:29 +0800 Subject: [PATCH] readme --- .gitignore | 3 ++- README.md | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d465120..899bcde 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ /.vscode /vendor *.log -.env \ No newline at end of file +.env +/composer.lock diff --git a/README.md b/README.md index 3854cdc..3cc5296 100644 --- a/README.md +++ b/README.md @@ -31,10 +31,21 @@ ### 部署方法 * 从[Release](https://github.com/netcccyun/dnsmgr/releases)页面下载安装包 + * 运行环境要求PHP7.4+,MySQL5.6+ + * 设置网站运行目录为`public` + * 设置伪静态为`ThinkPHP` + +* 如果是下载的Source code包,还需Composer安装依赖(Release页面下载的安装包不需要) + + ``` + composer install --no-dev + ``` + * 访问网站,会自动跳转到安装页面,根据提示安装完成 + * 访问首页登录控制面板 ##### 伪静态规则