1
1
![ 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 )
2
2
3
-
4
3
### 🎉 What's this?
4
+
5
5
这是一款` 在线工具箱 ` 程序,您可以通过安装扩展增强她的功能
6
6
通过插件模板的功能,您也可以把她当做网页导航来使用~
7
7
觉得该项目不错的可以给个` Star ` ~
10
10
11
11
* < https://tool.aoaostar.com >
12
12
13
-
14
13
### 🍹 演示图
14
+
15
15
![ ] ( docs/images/view_1.png )
16
16
![ ] ( docs/images/view_2.png )
17
17
![ ] ( docs/images/view_4.png )
18
18
![ ] ( docs/images/view_3.gif )
19
19
20
20
## 🎑 说明
21
- > 严禁用于非法用途
21
+
22
+ > 严禁用于非法用途
22
23
23
24
### 😺 文档
25
+
24
26
[ 插件编写] ( docs/Plugin.md )
25
27
[ Github Oauth 配置] ( docs/Github_Oauth.md )
26
28
[ Plugin Template 使用] ( docs/Plugin_Template.md )
27
- [ Plugin Permission 使用] ( docs/Plugin_Permission.md )
29
+ [ Plugin Permission 使用] ( docs/Plugin_Permission.md )
28
30
29
31
### 🎊 环境要求
30
32
31
33
* ` PHP ` >= 7.2.5
32
34
* ` MySQL ` >= 5.7
33
35
* ` fileinfo ` 扩展
34
36
* 使用` Redis ` 缓存需安装` Redis ` 扩展
35
- * 去除禁用函数` proc_open ` 、` putenv ` 、` shell_exec ` 、` proc_get_status ` (必须是命令行的PHP版本,你装了多个PHP版本,命令行版本的PHP和你的网站配置的PHP可能不是同一个)
37
+ * 去除禁用函数` proc_open ` 、` putenv ` 、` shell_exec ` 、` proc_get_status ` (
38
+ 必须是命令行的PHP版本,你装了多个PHP版本,命令行版本的PHP和你的网站配置的PHP可能不是同一个,嫌麻烦可以下载` full ` 包)
36
39
37
40
### 🚠 部署
38
41
39
- * 下载` Release ` 代码
40
- * 设置运行目录为` public `
41
- * 关闭防跨站(` open_basedir ` )
42
- * 设置伪静态
43
- * 去除静态文件代理
42
+ 1 . 下载` Release ` 代码
43
+ 2 . 设置运行目录为` public `
44
+ 3 . 关闭防跨站(` open_basedir ` )
45
+ 4 . 设置伪静态
46
+ 5 . 去除静态文件代理
44
47
+ 打开` nginx ` 配置
45
48
+ 删除图中选中的内容
46
- ![ ] ( docs/images/problem_1.png )
49
+ ![ ] ( docs/images/problem_1.png )
47
50
48
- * 安装依赖
49
- > ` full ` 包,已安装依赖,无需重复安装
51
+ 6 . 安装依赖
52
+ > ` full ` 包,已安装依赖,无需重复安装
50
53
+ 配置阿里镜像源
51
- ```
52
- composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
53
- ```
54
+ ```
55
+ composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
56
+ ```
54
57
+ 升级compose
55
- ```
56
- composer self-update
57
- ```
58
+ ```
59
+ composer self-update
60
+ ```
58
61
+ 安装依赖
59
- ```
60
- composer install --no-dev
61
- ```
62
- * 设置目录权限
62
+ ```
63
+ composer install --no-dev
64
+ ```
65
+ 7. 设置目录权限
66
+
63
67
+ 一般是默认允许的(如有无法上传、无法打开页面或其他未知问题可以设置一下目录权限)
64
68
+ `Apache`的所属组为`www-data`,那么就请修改`www`为`www-data`
65
-
66
- ```shell script
67
- chmod -R 755 *
68
- chown -R www:www *
69
- ```
70
- * 打开`你的域名/install`
69
+
70
+ ```shell script
71
+ chmod -R 755 *
72
+ chown -R www:www *
73
+ ```
74
+
75
+ 8. 打开`你的域名/install`
71
76
72
77
#### 🍰 伪静态
73
78
74
79
* Nginx
80
+
75
81
```
76
82
location / {
77
83
if (!-e $request_filename){
78
84
rewrite ^(.* )$ /index.php?s=$1 last; break;
79
85
}
80
86
}
81
87
```
88
+
82
89
* Apache
90
+
83
91
```
84
92
<IfModule mod_rewrite.c >
85
93
Options +FollowSymlinks -Multiviews
@@ -96,9 +104,9 @@ location / {
96
104
97
105
#### 🍓 鸣谢
98
106
99
- * thinkphp
100
- * vuejs
101
- * daisyui
102
- * tailwindcss
103
- * naive UI
104
- * naive UI admin
107
+ * [ thinkphp](https://github.com/top-think/framework)
108
+ * [Vue.js](https://github.com/ vuejs/vue)
109
+ * [daisyUI](https://github.com/saadeghi/ daisyui)
110
+ * [ tailwindcss](https://github.com/tailwindlabs/tailwindcss)
111
+ * [Naive Ui](https://github.com/tusen-ai/naive-ui)
112
+ * [Naive Ui Admin](https://github.com/jekip/naive-ui- admin)
0 commit comments