钢琴时间

Silent 10f6d5415c test 6 years ago
app 10f6d5415c test 6 years ago
bootstrap 9f37800dad init 7 years ago
config f6ef677297 导入 导出 6 years ago
database 809bc0273c test 6 years ago
public ac384d8e95 定时任务 6 years ago
resources 211614aed2 Merge branch 'jeffry' of ssh://git.9026.com:2212/Silent/PianoTime 6 years ago
routes 73f48fe705 test 6 years ago
storage 9f37800dad init 7 years ago
tests 9f37800dad init 7 years ago
wechat 644415dda8 Merge branch 'jeffry' of ssh://git.9026.com:2212/Silent/PianoTime 6 years ago
.env.example 9f37800dad init 7 years ago
.gitattributes 9f37800dad init 7 years ago
.gitignore 9f37800dad init 7 years ago
artisan 9f37800dad init 7 years ago
composer.json f6ef677297 导入 导出 6 years ago
package.json 9f37800dad init 7 years ago
phpunit.xml 9f37800dad init 7 years ago
readme.md 9f37800dad init 7 years ago
server.php 9f37800dad init 7 years ago
webpack.mix.js 9f37800dad init 7 years ago

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