小相馆

wesley 8c698e8649 coupon il y a 6 ans
app 8c698e8649 coupon il y a 6 ans
bootstrap e243f44553 first commit il y a 7 ans
config 8315e35207 oss il y a 6 ans
database ed6df4fe79 notify il y a 6 ans
public ed6df4fe79 notify il y a 6 ans
resources 72fc76bec9 bug il y a 6 ans
routes 42a4fe02a1 business il y a 6 ans
storage e243f44553 first commit il y a 7 ans
tests e243f44553 first commit il y a 7 ans
.DS_Store 5c545d44eb api il y a 6 ans
.env.example e243f44553 first commit il y a 7 ans
.gitattributes e243f44553 first commit il y a 7 ans
.gitignore 9adfda64d0 schedule il y a 6 ans
artisan e243f44553 first commit il y a 7 ans
composer.json 0649d617e9 alioss il y a 7 ans
package-lock.json e243f44553 first commit il y a 7 ans
package.json e243f44553 first commit il y a 7 ans
phpunit.xml e243f44553 first commit il y a 7 ans
readme.md 990411aa8b schedule il y a 6 ans
server.php e243f44553 first commit il y a 7 ans
webpack.mix.js e243f44553 first commit il y a 7 ans

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