gq 827d1e534d add il y a 8 ans
..
app 827d1e534d add il y a 8 ans
bootstrap 54fc7e274c first commit il y a 8 ans
config 5b2ac5463e add il y a 8 ans
database 1d97c79fdc add il y a 8 ans
public 54fc7e274c first commit il y a 8 ans
resources 827d1e534d add il y a 8 ans
routes 827d1e534d add il y a 8 ans
storage 54fc7e274c first commit il y a 8 ans
tests 54fc7e274c first commit il y a 8 ans
.env.example 54fc7e274c first commit il y a 8 ans
.gitattributes 54fc7e274c first commit il y a 8 ans
.gitignore d82a6dfa1e add il y a 8 ans
apidoc.json 834bae4913 add il y a 8 ans
artisan 54fc7e274c first commit il y a 8 ans
composer.json 7c0e1c3575 ide-helper il y a 8 ans
package.json 54fc7e274c first commit il y a 8 ans
phpunit.xml 54fc7e274c first commit il y a 8 ans
readme.md a6f8b03f5f readme il y a 8 ans
server.php 54fc7e274c first commit il y a 8 ans
webpack.mix.js 54fc7e274c first commit il y a 8 ans

readme.md

安装

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

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

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

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

USEFUL LINK