内容付费

wesley.chen e3aebe139c first commit il y a 6 ans
app e3aebe139c first commit il y a 6 ans
bootstrap e3aebe139c first commit il y a 6 ans
config e3aebe139c first commit il y a 6 ans
database e3aebe139c first commit il y a 6 ans
public e3aebe139c first commit il y a 6 ans
resources e3aebe139c first commit il y a 6 ans
routes e3aebe139c first commit il y a 6 ans
storage e3aebe139c first commit il y a 6 ans
tests e3aebe139c first commit il y a 6 ans
.env.example e3aebe139c first commit il y a 6 ans
.gitattributes e3aebe139c first commit il y a 6 ans
.gitignore e3aebe139c first commit il y a 6 ans
artisan e3aebe139c first commit il y a 6 ans
composer.json e3aebe139c first commit il y a 6 ans
package-lock.json e3aebe139c first commit il y a 6 ans
package.json e3aebe139c first commit il y a 6 ans
phpunit.xml e3aebe139c first commit il y a 6 ans
readme.md e3aebe139c first commit il y a 6 ans
server.php e3aebe139c first commit il y a 6 ans
webpack.mix.js e3aebe139c first commit il y a 6 ans

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