docs: ✏️ 更新readme.md

This commit is contained in:
AOAOSTAR 2022-10-25 17:27:23 +08:00
parent f6a670b382
commit a7b2322f51
2 changed files with 43 additions and 35 deletions

View File

@ -1,7 +1,7 @@
![toolbox](https://socialify.git.ci/aoaostar/toolbox/image?description=1&forks=1&issues=1&logo=https%3A%2F%2Fraw.githubusercontent.com%2Faoaostar%2Ftoolbox%2Fmaster%2Fpublic%2Fstatic%2Fimages%2Flogo.png&name=1&owner=1&pattern=Floating%20Cogs&pulls=1&stargazers=1&theme=Light) ![toolbox](https://socialify.git.ci/aoaostar/toolbox/image?description=1&forks=1&issues=1&logo=https%3A%2F%2Fraw.githubusercontent.com%2Faoaostar%2Ftoolbox%2Fmaster%2Fpublic%2Fstatic%2Fimages%2Flogo.png&name=1&owner=1&pattern=Floating%20Cogs&pulls=1&stargazers=1&theme=Light)
### 🎉 What's this ### 🎉 What's this
这是一款`在线工具箱`程序,您可以通过安装扩展增强她的功能 这是一款`在线工具箱`程序,您可以通过安装扩展增强她的功能
通过插件模板的功能,您也可以把她当做网页导航来使用~ 通过插件模板的功能,您也可以把她当做网页导航来使用~
觉得该项目不错的可以给个`Star`~ 觉得该项目不错的可以给个`Star`~
@ -10,21 +10,23 @@
* <https://tool.aoaostar.com> * <https://tool.aoaostar.com>
### 🍹 演示图 ### 🍹 演示图
![](docs/images/view_1.png) ![](docs/images/view_1.png)
![](docs/images/view_2.png) ![](docs/images/view_2.png)
![](docs/images/view_4.png) ![](docs/images/view_4.png)
![](docs/images/view_3.gif) ![](docs/images/view_3.gif)
## 🎑 说明 ## 🎑 说明
> 严禁用于非法用途
> 严禁用于非法用途
### 😺 文档 ### 😺 文档
[插件编写](docs/Plugin.md) [插件编写](docs/Plugin.md)
[Github Oauth 配置](docs/Github_Oauth.md) [Github Oauth 配置](docs/Github_Oauth.md)
[Plugin Template 使用](docs/Plugin_Template.md) [Plugin Template 使用](docs/Plugin_Template.md)
[Plugin Permission 使用](docs/Plugin_Permission.md) [Plugin Permission 使用](docs/Plugin_Permission.md)
### 🎊 环境要求 ### 🎊 环境要求
@ -32,46 +34,50 @@
* `MySQL` >= 5.7 * `MySQL` >= 5.7
* `fileinfo`扩展 * `fileinfo`扩展
* 使用`Redis`缓存需安装`Redis`扩展 * 使用`Redis`缓存需安装`Redis`扩展
* 去除禁用函数`proc_open`、`putenv`、`shell_exec`、`proc_get_status`(必须是命令行的PHP版本你装了多个PHP版本命令行版本的PHP和你的网站配置的PHP可能不是同一个) * 去除禁用函数`proc_open`、`putenv`、`shell_exec`、`proc_get_status`(
必须是命令行的PHP版本你装了多个PHP版本命令行版本的PHP和你的网站配置的PHP可能不是同一个嫌麻烦可以下载`full`包)
### 🚠 部署 ### 🚠 部署
* 下载`Release`代码 1. 下载`Release`代码
* 设置运行目录为`public` 2. 设置运行目录为`public`
* 关闭防跨站(`open_basedir` 3. 关闭防跨站(`open_basedir`
* 设置伪静态 4. 设置伪静态
* 去除静态文件代理 5. 去除静态文件代理
+ 打开`nginx`配置 + 打开`nginx`配置
+ 删除图中选中的内容 + 删除图中选中的内容
![](docs/images/problem_1.png) ![](docs/images/problem_1.png)
* 安装依赖 6. 安装依赖
> `full`包,已安装依赖,无需重复安装 > `full`包,已安装依赖,无需重复安装
+ 配置阿里镜像源 + 配置阿里镜像源
``` ```
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
``` ```
+ 升级compose + 升级compose
``` ```
composer self-update composer self-update
``` ```
+ 安装依赖 + 安装依赖
``` ```
composer install --no-dev composer install --no-dev
``` ```
* 设置目录权限 7. 设置目录权限
+ 一般是默认允许的(如有无法上传、无法打开页面或其他未知问题可以设置一下目录权限) + 一般是默认允许的(如有无法上传、无法打开页面或其他未知问题可以设置一下目录权限)
+ `Apache`的所属组为`www-data`,那么就请修改`www`为`www-data` + `Apache`的所属组为`www-data`,那么就请修改`www`为`www-data`
```shell script ```shell script
chmod -R 755 * chmod -R 755 *
chown -R www:www * chown -R www:www *
``` ```
* 打开`你的域名/install`
8. 打开`你的域名/install`
#### 🍰 伪静态 #### 🍰 伪静态
* Nginx * Nginx
``` ```
location / { location / {
if (!-e $request_filename){ if (!-e $request_filename){
@ -79,7 +85,9 @@ location / {
} }
} }
``` ```
* Apache * Apache
``` ```
<IfModule mod_rewrite.c> <IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews Options +FollowSymlinks -Multiviews
@ -96,9 +104,9 @@ location / {
#### 🍓 鸣谢 #### 🍓 鸣谢
* thinkphp * [thinkphp](https://github.com/top-think/framework)
* vuejs * [Vue.js](https://github.com/vuejs/vue)
* daisyui * [daisyUI](https://github.com/saadeghi/daisyui)
* tailwindcss * [tailwindcss](https://github.com/tailwindlabs/tailwindcss)
* naive UI * [Naive Ui](https://github.com/tusen-ai/naive-ui)
* naive UI admin * [Naive Ui Admin](https://github.com/jekip/naive-ui-admin)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

After

Width:  |  Height:  |  Size: 909 KiB