# video **Repository Path**: strwei/video ## Basic Information - **Project Name**: video - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-06-23 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

基于Laravel框架

使用ffmpeg进行队列转码

前端使用Bootstrap Jquery

弹幕播放器使用DanmuPlayer

管理后台基于summerblue/administrator

用户切换使用viacreative/sudo-su

使用方式

1.git clone https://github.com/shadylplplp/video.git

2.执行composer install

3.把.env.example修改成.env 里设置数据库 SMTP服务器等配置,修改QUEUE_CONNECTION=redis并且加REDIS_CLIENT=predis

4.执行php artisan key:generate生成key

5.执行php artisan migrate:refresh --seed 填充数据库 就可以看到demo了

6.如果没有安装过ffmpeg 安装ffmpeg用来视频转码

7.执行php artisan queue:listen --timeout=3600 启用列队监听

默认用户id1为管理员 管理后台为/admin