钢琴时间

贺智强 5a08af7d00 add 6 yıl önce
app 8a8c818caa 文章 6 yıl önce
bootstrap 9f37800dad init 7 yıl önce
config 2311d15deb tst 6 yıl önce
database 740d059f46 基本完成 6 yıl önce
public ac384d8e95 定时任务 6 yıl önce
resources 740d059f46 基本完成 6 yıl önce
routes 26832703ba 文章 6 yıl önce
storage 9f37800dad init 7 yıl önce
tests 9f37800dad init 7 yıl önce
wechat 5a08af7d00 add 6 yıl önce
.env.example 9f37800dad init 7 yıl önce
.gitattributes 9f37800dad init 7 yıl önce
.gitignore 9f37800dad init 7 yıl önce
artisan 9f37800dad init 7 yıl önce
composer.json 2311d15deb tst 6 yıl önce
package.json 9f37800dad init 7 yıl önce
phpunit.xml 9f37800dad init 7 yıl önce
readme.md 9f37800dad init 7 yıl önce
server.php 9f37800dad init 7 yıl önce
webpack.mix.js 9f37800dad init 7 yıl önce

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