企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
1.安装thinkPHP ``` composer create-project topthink/think tp ``` 2.安装thinkPHP拓展包 安装多应用模式扩展 ``` composer require topthink/think-multi-app ``` 模板引擎 ``` composer require topthink/think-view ``` 验证码 ``` composer require topthink/think-captcha ``` 数据库迁移工具 ~~~ composer require topthink/think-migration ~~~ 3.安装apiadmin ~~~ composer create-project apiadmin/apiadmin ~~~ > 第二步:检测环境以及配置数据库 ~~~ php think apiadmin:install ~~~ > 第三步:完成数据迁移 ~~~ php think migrate:run * 如出现报错:There are no commands defined in the "migrate" namespace. * 请先更新下think版本:composer update topthink/framework * 再执行:php think migrate:run * 特别鸣谢:@孙晔华 ~~~ > 第四步:构建后端路由 ~~~ php think apiadmin:adminRouter ~~~ > 第五步:获取管理后台账号密码 ~~~ cat install/lock.ini ~~~