高考志愿助手

wesley.chen 0fe0d0409b appid il y a 7 ans
app 0fe0d0409b appid il y a 7 ans
bootstrap 8764c5da5b first commit il y a 7 ans
config dec949a013 geetest il y a 7 ans
database 7b16801e4b major grade il y a 7 ans
public 9ecaf6a7ec get basedata il y a 7 ans
resources 1940dd5335 ico il y a 7 ans
routes 9ecaf6a7ec get basedata il y a 7 ans
storage 8764c5da5b first commit il y a 7 ans
tests 8764c5da5b first commit il y a 7 ans
.env.example 8764c5da5b first commit il y a 7 ans
.gitattributes 8764c5da5b first commit il y a 7 ans
.gitignore 8764c5da5b first commit il y a 7 ans
artisan 8764c5da5b first commit il y a 7 ans
composer.json dec949a013 geetest il y a 7 ans
package-lock.json 8764c5da5b first commit il y a 7 ans
package.json 8764c5da5b first commit il y a 7 ans
phpunit.xml 8764c5da5b first commit il y a 7 ans
readme.md 7354fcadab readme il y a 7 ans
server.php 8764c5da5b first commit il y a 7 ans
webpack.mix.js 8764c5da5b first commit il y a 7 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