Ei kuvausta

dyjh bb07ea11b6 1 6 vuotta sitten
app bb07ea11b6 1 6 vuotta sitten
bootstrap e58690c7eb first add 6 vuotta sitten
config e58690c7eb first add 6 vuotta sitten
database 337b2e5c74 complate 6 vuotta sitten
public a4bf370080 地图映入 6 vuotta sitten
resources d71a770e12 去掉封面图片 6 vuotta sitten
routes 3fec1cd267 搜索 6 vuotta sitten
storage e58690c7eb first add 6 vuotta sitten
tests e58690c7eb first add 6 vuotta sitten
.env.example e58690c7eb first add 6 vuotta sitten
.gitattributes e58690c7eb first add 6 vuotta sitten
.gitignore e58690c7eb first add 6 vuotta sitten
apidoc.json e58690c7eb first add 6 vuotta sitten
artisan e58690c7eb first add 6 vuotta sitten
composer.json faf2eb5c54 complate 6 vuotta sitten
package-lock.json e58690c7eb first add 6 vuotta sitten
package.json e58690c7eb first add 6 vuotta sitten
phpunit.xml e58690c7eb first add 6 vuotta sitten
readme.md e58690c7eb first add 6 vuotta sitten
server.php e58690c7eb first add 6 vuotta sitten
webpack.mix.js e58690c7eb first add 6 vuotta sitten

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