Sen descrición

dyjh 8b9b6a1cad 111 %!s(int64=6) %!d(string=hai) anos
app 8b9b6a1cad 111 %!s(int64=6) %!d(string=hai) anos
bootstrap ee6632f981 1 %!s(int64=6) %!d(string=hai) anos
config ee6632f981 1 %!s(int64=6) %!d(string=hai) anos
database be270c2230 短信 %!s(int64=6) %!d(string=hai) anos
public 8e73549bdc 111 %!s(int64=6) %!d(string=hai) anos
resources 8b9b6a1cad 111 %!s(int64=6) %!d(string=hai) anos
routes 001665a48a 111 %!s(int64=6) %!d(string=hai) anos
storage ee6632f981 1 %!s(int64=6) %!d(string=hai) anos
tests ee6632f981 1 %!s(int64=6) %!d(string=hai) anos
.env.example ee6632f981 1 %!s(int64=6) %!d(string=hai) anos
.gitattributes ee6632f981 1 %!s(int64=6) %!d(string=hai) anos
.gitignore ee6632f981 1 %!s(int64=6) %!d(string=hai) anos
apidoc.json ee6632f981 1 %!s(int64=6) %!d(string=hai) anos
artisan ee6632f981 1 %!s(int64=6) %!d(string=hai) anos
composer.json ee6632f981 1 %!s(int64=6) %!d(string=hai) anos
package-lock.json ee6632f981 1 %!s(int64=6) %!d(string=hai) anos
package.json ee6632f981 1 %!s(int64=6) %!d(string=hai) anos
phpunit.xml ee6632f981 1 %!s(int64=6) %!d(string=hai) anos
readme.md ee6632f981 1 %!s(int64=6) %!d(string=hai) anos
server.php ee6632f981 1 %!s(int64=6) %!d(string=hai) anos
webpack.mix.js ee6632f981 1 %!s(int64=6) %!d(string=hai) anos

readme.md

安装

  • git clone 到本地
  • 执行 composer install,npm install创建好数据库
  • 配置 .env 中数据库连接信息,没有.env请复制.env.example命名为.env
  • 执行 php artisan key:generate
  • 执行 php artisan migrate
  • 执行 php artisan db:seed
  • storage下所有目录 和 bootstrap/cache 目录应该是可写的
  • 键入 '域名/admin/login'(后台登录)
  • 用户名:user1;密码:123456

  • 生成文档 apidoc -i app/Http/Controllers/Api/V1 -o public/apidoc

  • api文档在public/apidoc里面, 也可以看上面的 在线api文档

####注意第一次安装的时候要

USEFUL LINK