2 Star 0 Fork 0

闲歌 / languang

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

videoapp web - 提供APP的api和后台管理

架构

服务器环境

  • PHP 7.2 + MySQL 5.6/5.7 + Nginx

源码说明:

  • 使用laravel框架 + composer 依赖开发
  • 项目根目录:public/index.php
  • 接口路由:routes/api.php
  • 后台管理路由设置:routes/web.php
  • 公共文件存放在 public 目录下
  • 数据库配置文件1: .env 配置数据库前缀等
  • 数据库配置文件2: config/database.php 配置数据库前缀等
  • 数据库声明在 app 目录下

数据库

  • 数据库名称:videoapp
  • 数据库脚本:/文档/mysql-videoapp.sql

后台入口

  • /admintv
  • 用户名 admin 密码 123456

Mac Nginx 下 Laravel 配置

server {
    listen 80;
    server_name www.test.com;
    set $root_path '/home/web/videoappweb/public';  
    root $root_path;
    client_max_body_size 50m;
    
    index index.php index.html index.htm;
    
    try_files $uri $uri/ @rewrite;    
    
    location @rewrite {    
        rewrite ^/(.*)$ /index.php?_url=/$1;    
        client_max_body_size 50m;
    }    
    
    location ~ \.php {    
    
        fastcgi_pass 127.0.0.1:9000;    
        fastcgi_index /index.php;    
        fastcgi_split_path_info       ^(.+\.php)(/.+)$;    
        fastcgi_param PATH_INFO       $fastcgi_path_info;    
        fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;    
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;    
        include                       fastcgi_params;  
        client_max_body_size 50m;
    }

    location ~* ^/(css|img|js|flv|swf|download)/(.+)$ {    
        root $root_path;    
    }
}

空文件

简介

暂无描述 展开 收起
PHP
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
PHP
1
https://gitee.com/xiangesir/languang.git
git@gitee.com:xiangesir/languang.git
xiangesir
languang
languang
master

搜索帮助