mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
modified 优化安装脚本
This commit is contained in:
parent
9f8bc6c037
commit
9c9715a243
@ -33,7 +33,13 @@ php think apiadmin:install --db mysql://root:123456@127.0.0.1:3306/apiadmin#utf8
|
||||
php think apiadmin:adminRouter
|
||||
```
|
||||
|
||||
> 第四步:获取管理后台账号密码
|
||||
> 第四步:构建后端路由
|
||||
|
||||
```
|
||||
php think migrate:run
|
||||
```
|
||||
|
||||
> 第五步:获取管理后台账号密码
|
||||
|
||||
```
|
||||
cat application/install/lock.ini
|
||||
|
@ -82,9 +82,6 @@ class Install extends Command {
|
||||
//生成lock文件,并且写入用户名密码
|
||||
file_put_contents($lockFile, $authKey);
|
||||
$output->info('lock文件初始化成功');
|
||||
|
||||
Console::call('migrate:run');
|
||||
$output->info('必要数据初始化成功');
|
||||
} catch (\PDOException $e) {
|
||||
$output->highlight($e->getMessage());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user