Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
吴磊(PHP)
/
admin-skeleton
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0b9a9233
authored
Jun 09, 2023
by
wulei@ldy.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix readme
1 parent
84041e1f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
5 deletions
.env → .env.example
README.md
config/database.php
.env
→
.env
.example
View file @
0b9a923
...
...
@@ -11,9 +11,9 @@ LOG_LEVEL=debug
DB_CONNECTION=mysql
DB_HOST=mysql_local
DB_PORT=3306
DB_DATABASE=
magic_cocoon
DB_USERNAME=
root
DB_PASSWORD=
root
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=
BROADCAST_DRIVER=log
CACHE_DRIVER=file
...
...
@@ -51,4 +51,3 @@ PUSHER_APP_CLUSTER=mt1
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
JWT_SECRET=SbExouvuQn3MQtjX4B8AcFHDdmptPwUCKZH9wcxvkNeGDjtKSAh7VO5rGHrVSTOm
README.md
View file @
0b9a923
...
...
@@ -14,6 +14,9 @@
### 框架部署
进入框架根目录执行:
```
shell
# 创建和修改配置文件
cp .env.example .env
# 安装依赖
composer install
...
...
@@ -27,6 +30,11 @@ php artisan admin:publish
# 发布telescope
php artisan telescope:publish
# 生成APP_KEY
php artisan key:generate
# 生成jwt密钥
php artisan jwt:secret
# storage目录分配权限
chmod -R 777 storage
...
...
config/database.php
View file @
0b9a923
...
...
@@ -54,7 +54,7 @@ return [
'unix_socket'
=>
env
(
'DB_SOCKET'
,
''
),
'charset'
=>
'utf8mb4'
,
'collation'
=>
'utf8mb4_general_ci'
,
'prefix'
=>
'mc_'
,
'prefix'
=>
env
(
'DB_PREFIX'
,
'tbl_'
)
,
'prefix_indexes'
=>
true
,
'strict'
=>
true
,
'engine'
=>
null
,
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment