Mike 8249b19620 a il y a 7 ans
..
app 8249b19620 a il y a 7 ans
bootstrap 54fc7e274c first commit il y a 8 ans
config 310dea7e54 add il y a 7 ans
database 5ed42017f0 add il y a 7 ans
public 8282cb13a2 add il y a 7 ans
resources 564f0d285b add il y a 7 ans
routes 47c567f989 add il y a 7 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 2d7997ebb5 add il y a 8 ans
artisan 54fc7e274c first commit il y a 8 ans
composer.json 7bdb7d1931 add il y a 7 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