小相馆

wesley.chen 6e4ff99e32 s1 hace 7 años
app 8d3c386919 s1 hace 7 años
bootstrap e243f44553 first commit hace 7 años
config b18d5b5193 passport hace 7 años
database f1da9e7821 xxg hace 7 años
public 6e4ff99e32 s1 hace 7 años
resources 03084edb88 xxg hace 7 años
routes b18d5b5193 passport hace 7 años
storage e243f44553 first commit hace 7 años
tests e243f44553 first commit hace 7 años
.env.example e243f44553 first commit hace 7 años
.gitattributes e243f44553 first commit hace 7 años
.gitignore e243f44553 first commit hace 7 años
artisan e243f44553 first commit hace 7 años
composer.json e243f44553 first commit hace 7 años
package-lock.json e243f44553 first commit hace 7 años
package.json e243f44553 first commit hace 7 años
phpunit.xml e243f44553 first commit hace 7 años
readme.md e243f44553 first commit hace 7 años
server.php e243f44553 first commit hace 7 años
webpack.mix.js e243f44553 first commit hace 7 años

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