reset
This commit is contained in:
@@ -1,47 +0,0 @@
|
||||
|
||||
|
||||
|
||||
### Nginx 配置
|
||||
|
||||
```shell
|
||||
location / {
|
||||
if (!-f $request_filename) {
|
||||
rewrite ^(.*)$ /index.php?s=/$1 last;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
### 部署
|
||||
|
||||
- 1. 克隆代码
|
||||
- 2. 安装扩展 `composer install`
|
||||
- 3. 配置env文件 `cp .example.env .env`
|
||||
- 4. 上传logo 等图片到img public/statics/img/*
|
||||
- 5. 初始化数据库 `php think db:manage init`
|
||||
|
||||
|
||||
|
||||
### 升级
|
||||
- 1. 拉取代码
|
||||
- 2. 数据库升级 `php think migrate:run`
|
||||
- 2. 数据库升级 `php think mongo:manage`
|
||||
- 2. 数据播种 `php think db:manage seed`
|
||||
- 3. 关闭服务 `php think task stop`
|
||||
- 4. 启动服务 `php think task start -d`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
- 7. 创建migrate //执行命令,创建一个操作文件,一定要用大驼峰写法,如下
|
||||
php think migrate:create AnyClassNameYouWant
|
||||
###
|
||||
/admin/system/initadminuser
|
||||
|
||||
keys "task:novel_source_id:*"
|
||||
|
||||
## 其它配置
|
||||
- 1. 统计代码要在广告配置添加
|
||||
- 2. 系统配置要吸怪对应的战斗信息
|
||||
- 3. seoTdk 管理要修改对应的tdk
|
||||
Reference in New Issue
Block a user