Code Monkey home page Code Monkey logo

yii2cms's Introduction

demo地址 www.51siyuan.cn

demo后台地址: www.51siyuan.cn/admin 帐号 demo 密码 111111

安装:

进入项目根目录

  1. php init

    0回车 yes回车

  2. 创建项目所需数据库 mysql -uroot -proot -e 'create database yii;'

    root root分别是你的mysql用户和密码,创建yii库

  3. 数据库配置

    修改common/config/main-local.php

    'db' => ['class' => 'yii\db\Connection',
        'dsn' => 'mysql:host=127.0.0.1;dbname=yii', //数据库host和库名
        'username' => 'root', // 数据库用户名
        'password' => 'root1234', // 数据库密码
        'charset' => 'utf8',
        'tablePrefix' => 'pop_', // 表前缀
    ],
    
  4. 导入初始化数据 php yii migrate

  5. 收工

    前台访问地址: /web/

    后台访问地址: /web/admin/ 管理员 帐号 hehe 密码 111111

现有功能:

  • rbac权限管理

  • 系统配置,管理员操作日志等

  • 文章,单页,评论,弹幕等

  • 数据库备份还原

  • 国际化

  • 主题、皮肤

  • todo

yii2cms's People

Contributors

yidashi avatar

Watchers

James Cloos avatar Tom 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.