在最后一步php artisan od:install时,出现无此命令

[root@localhost ~]# cd /www/wwwroot/drive.iucky.cn
[root@localhost drive.iucky.cn]# php artisan od:install


  There are no commands defined in the "od" namespace.

最后翻找了一下目录内的文件,解决方案有了
使用composer run install-app安装

[root@localhost drive.iucky.cn]# composer run install-app
Do not run Composer as root/super user! See https://getcomposer.org/root for details
> php artisan install
   ____  __    ___    _____   ______  _______  __
  / __ \/ /   /   |  /  _/ | / / __ \/ ____/ |/ /
 / / / / /   / /| |  / //  |/ / / / / __/  |   /
/ /_/ / /___/ ___ |_/ // /|  / /_/ / /___ /   |
\____/_____/_/  |_/___/_/ |_/_____/_____//_/|_|

v5.0.0
- Designed by IMWNK | Powered by OLAINDEX

Already have database file,Re-creating...
Env file not found,Creating...

 Already have [.env] ,overwrite? (yes/no) [yes]:
 > Configuration cache cleared!
Configuration cached successfully!
Migration table created successfully.
Migrating: 2014_10_12_000000_create_users_table
Migrated:  2014_10_12_000000_create_users_table (23.17ms)
Migrating: 2019_08_19_000000_create_failed_jobs_table
Migrated:  2019_08_19_000000_create_failed_jobs_table (17.53ms)
Migrating: 2019_10_09_143144_create_settings_table
Migrated:  2019_10_09_143144_create_settings_table (19.79ms)
Migrating: 2020_03_29_160103_create_account_table
Migrated:  2020_03_29_160103_create_account_table (19.48ms)
Migrating: 2020_06_02_100822_create_short_urls_table
Migrated:  2020_06_02_100822_create_short_urls_table (30.10ms)
Seeding: UsersTableSeeder
Seeded:  UsersTableSeeder (165.89ms)
Database seeding completed successfully.
Configuration cache cleared!
Configuration cached successfully!
default name: [ admin ]
default password: [ 123456 ]
Install Complete!
最后修改:2020 年 09 月 26 日 09 : 50 PM
如果觉得我的文章对你有用,请随意赞赏

发表评论

域名代备案/服务器虚拟主机售卖/二级不死域名代制作/
老备案老域名/营业执照代办/QQ互联代申请/
海报宣传图设计/各类程序授权/各类业务

联系QQ:1032066668
点击联系