小相馆

wesley be7ee7a030 api %!s(int64=6) %!d(string=hai) anos
app 7fc124bf28 api %!s(int64=6) %!d(string=hai) anos
bootstrap e243f44553 first commit %!s(int64=7) %!d(string=hai) anos
config e3aa413e45 busniss %!s(int64=6) %!d(string=hai) anos
database 263b3d6355 busniss %!s(int64=6) %!d(string=hai) anos
public be7ee7a030 api %!s(int64=6) %!d(string=hai) anos
resources f20c02f571 bug %!s(int64=6) %!d(string=hai) anos
routes 42a4fe02a1 business %!s(int64=6) %!d(string=hai) anos
storage e243f44553 first commit %!s(int64=7) %!d(string=hai) anos
tests e243f44553 first commit %!s(int64=7) %!d(string=hai) anos
.DS_Store 5c545d44eb api %!s(int64=6) %!d(string=hai) anos
.env.example e243f44553 first commit %!s(int64=7) %!d(string=hai) anos
.gitattributes e243f44553 first commit %!s(int64=7) %!d(string=hai) anos
.gitignore 9adfda64d0 schedule %!s(int64=6) %!d(string=hai) anos
artisan e243f44553 first commit %!s(int64=7) %!d(string=hai) anos
composer.json 0649d617e9 alioss %!s(int64=7) %!d(string=hai) anos
package-lock.json e243f44553 first commit %!s(int64=7) %!d(string=hai) anos
package.json e243f44553 first commit %!s(int64=7) %!d(string=hai) anos
phpunit.xml e243f44553 first commit %!s(int64=7) %!d(string=hai) anos
readme.md 990411aa8b schedule %!s(int64=6) %!d(string=hai) anos
server.php e243f44553 first commit %!s(int64=7) %!d(string=hai) anos
webpack.mix.js e243f44553 first commit %!s(int64=7) %!d(string=hai) anos

readme.md

安装

  • git clone 到本地
  • 执行 composer install,npm install创建好数据库
  • 配置 .env 中数据库连接信息,没有.env请复制.env.example命名为.env
  • 执行 wr
  • 执行 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