Skip to content

Commit

Permalink
docs: ✏️ 更新readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aoaostar committed Oct 25, 2022
1 parent f6a670b commit a7b2322
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 35 deletions.
78 changes: 43 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)


### 🎉 What's this?

这是一款`在线工具箱`程序,您可以通过安装扩展增强她的功能
通过插件模板的功能,您也可以把她当做网页导航来使用~
觉得该项目不错的可以给个`Star`~
Expand All @@ -10,76 +10,84 @@

* <https://tool.aoaostar.com>


### 🍹 演示图

![](docs/images/view_1.png)
![](docs/images/view_2.png)
![](docs/images/view_4.png)
![](docs/images/view_3.gif)

## 🎑 说明
> 严禁用于非法用途

> 严禁用于非法用途
### 😺 文档

[插件编写](docs/Plugin.md)
[Github Oauth 配置](docs/Github_Oauth.md)
[Plugin Template 使用](docs/Plugin_Template.md)
[Plugin Permission 使用](docs/Plugin_Permission.md)
[Plugin Permission 使用](docs/Plugin_Permission.md)

### 🎊 环境要求

* `PHP` >= 7.2.5
* `MySQL` >= 5.7
* `fileinfo`扩展
* 使用`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`代码
* 设置运行目录为`public`
* 关闭防跨站(`open_basedir`
* 设置伪静态
* 去除静态文件代理
1. 下载`Release`代码
2. 设置运行目录为`public`
3. 关闭防跨站(`open_basedir`
4. 设置伪静态
5. 去除静态文件代理
+ 打开`nginx`配置
+ 删除图中选中的内容
![](docs/images/problem_1.png)
![](docs/images/problem_1.png)

* 安装依赖
> `full`包,已安装依赖,无需重复安装
6. 安装依赖
> `full`包,已安装依赖,无需重复安装
+ 配置阿里镜像源
```
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
```
```
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
```
+ 升级compose
```
composer self-update
```
```
composer self-update
```
+ 安装依赖
```
composer install --no-dev
```
* 设置目录权限
```
composer install --no-dev
```
7. 设置目录权限
+ 一般是默认允许的(如有无法上传、无法打开页面或其他未知问题可以设置一下目录权限)
+ `Apache`的所属组为`www-data`,那么就请修改`www`为`www-data`
```shell script
chmod -R 755 *
chown -R www:www *
```
* 打开`你的域名/install`
```shell script
chmod -R 755 *
chown -R www:www *
```
8. 打开`你的域名/install`
#### 🍰 伪静态
* Nginx
```
location / {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s=$1 last; break;
}
}
```
* Apache
```
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
Expand All @@ -96,9 +104,9 @@ location / {
#### 🍓 鸣谢
* thinkphp
* vuejs
* daisyui
* tailwindcss
* naive UI
* naive UI admin
* [thinkphp](https://github.com/top-think/framework)
* [Vue.js](https://github.com/vuejs/vue)
* [daisyUI](https://github.com/saadeghi/daisyui)
* [tailwindcss](https://github.com/tailwindlabs/tailwindcss)
* [Naive Ui](https://github.com/tusen-ai/naive-ui)
* [Naive Ui Admin](https://github.com/jekip/naive-ui-admin)
Binary file modified docs/images/view_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a7b2322

Please sign in to comment.