# snackGC **Repository Path**: godconfident/snackGC ## Basic Information - **Project Name**: snackGC - **Description**: snakeGC 一个采用thinkphp5+MongoDB开发, 旨在为大家提供一个可用的便捷的后台系统。 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2018-12-29 - **Last Updated**: 2024-06-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 项目内容 在网上没有找到thinkphp5+MongoDB的开源后台,于是自己动手做了一个。 参考的是snake https://github.com/nick-bai/snake - 完成管理员管理 - 完成节点管理 - 完成角色管理 - 完成权限分配 - 完成个人中心 ## 使用教程 首先要配置好MongoDB ThinkPHP 5.0 =============== [![Total Downloads](https://poser.pugx.org/topthink/think/downloads)](https://packagist.org/packages/topthink/think) [![Latest Stable Version](https://poser.pugx.org/topthink/think/v/stable)](https://packagist.org/packages/topthink/think) [![Latest Unstable Version](https://poser.pugx.org/topthink/think/v/unstable)](https://packagist.org/packages/topthink/think) [![License](https://poser.pugx.org/topthink/think/license)](https://packagist.org/packages/topthink/think) > ThinkPHP5的运行环境要求PHP5.4以上。 详细开发文档参考 [ThinkPHP5完全开发手册](http://www.kancloud.cn/manual/thinkphp5) ## nginx 配置文件 有小伙伴反应nginx不好配置,这里给出nginx的配置文件 放在 */nginx/conf/vhost/yourName.conf ~~~ server { listen 80; #listen [::]:80; server_name www.yourDNS.com; index index.html index.htm index.php default.html default.htm default.php; root /home/wwwroot/tp5Mongodb/public; include rewrite/other.conf; #include other.conf; #error_page 404 /404.html; location / { try_files $uri $uri/ /index.php?s=$uri&$args; } location ~ [^/]\.php(/|$) { # comment try_files $uri =404; to enable pathinfo try_files $uri =404; fastcgi_pass unix:/tmp/php-cgi.sock; fastcgi_index index.php; include fastcgi.conf; #include pathinfo.conf; } location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ { expires 30d; } location ~ .*\.(js|css)?$ { expires 12h; } #access_log /home/wwwlogs/www.yourDNS.com.log access; } ~~~ ## 提bug和联系我 godconfident@qq.com ## 参考地址 http://tp5mongodbadmin.balitiger.top/admin 用户名 admin 密码 123456