Giter Site home page Giter Site logo

yga's Introduction

Yii2开发的后台管理系统

用Yii2.0.0开发的后台管理系统.通过RBAC控制不同用户的菜单显示以及权限。

安装

  1. 直接运行git clone https://github.com/BigKuCha/yga.git克隆到工作目录,或者直接下载zip包
  2. 运行composer update --prefer-dist 安装yii2核心文件
  3. 创建数据库 nevermore 编码 utf8-unicode-ci
  4. 在项目根目录下运行init 初始化项目(生成入口脚本、创建runtime目录等)
  5. 删除common/config/main-local.php里的db配置(采用common/config/db.php里的就可以)
  6. 运行yii migrate导入菜单表t_menu和用户表t_admin_user
  7. 运行yii migrate --migrationPath=@yii/rbac/migrations/导入Yii官方提供的权限控制表

配置

Apache

开启apache的rewite模块,网站根目录指向web/ NOTE: 如果不开启rewite,需要重新配置路由

图示

image image image


关于Yii2

Yii官方网站 yiiframework.com
Yii2仓库地址yiisoft/yii2

yga's People

Contributors

bigkucha avatar

Watchers

James Cloos avatar LocoRoco avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.