4
0
Fork 0

更新 'README.md'

master
panliang 2022-09-09 16:27:05 +08:00
parent 0e8b898655
commit b46d4ea6c4
1 changed files with 14 additions and 0 deletions

View File

@ -31,6 +31,20 @@ use Illuminate\Http\Resources\Json\JsonResource;
```
- 修改`.env` 中的数据库配置
```
APP_URL=网站域名(如: https://laravel.com)
LOG_DEPRECATIONS_CHANNEL=null(删除本项)
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=
```
- `php artisan admin:publish`
- `php artisan admin:install`
- 进入管理后台 `{host}/admin`, admin, admin