mirror of
https://github.com/aoaostar/toolbox.git
synced 2025-12-18 18:13:40 +00:00
docs: ✏️ 更新readme.md
This commit is contained in:
parent
f6a670b382
commit
a7b2322f51
78
README.md
78
README.md
@ -1,7 +1,7 @@
|
||||

|
||||
|
||||
|
||||
### 🎉 What's this?
|
||||
|
||||
这是一款`在线工具箱`程序,您可以通过安装扩展增强她的功能
|
||||
通过插件模板的功能,您也可以把她当做网页导航来使用~
|
||||
觉得该项目不错的可以给个`Star`~
|
||||
@ -10,21 +10,23 @@
|
||||
|
||||
* <https://tool.aoaostar.com>
|
||||
|
||||
|
||||
### 🍹 演示图
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
## 🎑 说明
|
||||
> 严禁用于非法用途
|
||||
|
||||
> 严禁用于非法用途
|
||||
|
||||
### 😺 文档
|
||||
|
||||
[插件编写](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)
|
||||
|
||||
### 🎊 环境要求
|
||||
|
||||
@ -32,46 +34,50 @@
|
||||
* `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`配置
|
||||
+ 删除图中选中的内容
|
||||

|
||||

|
||||
|
||||
* 安装依赖
|
||||
> `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){
|
||||
@ -79,7 +85,9 @@ location / {
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
* Apache
|
||||
|
||||
```
|
||||
<IfModule mod_rewrite.c>
|
||||
Options +FollowSymlinks -Multiviews
|
||||
@ -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 not shown.
|
Before Width: | Height: | Size: 1.9 MiB After Width: | Height: | Size: 909 KiB |
Loading…
Reference in New Issue
Block a user