Code Monkey home page Code Monkey logo

examination's Introduction

考试系统

安装说明

  • 不想使用 composer 安装,可以从如下地址下载打包文件(最新) 下载后,需要从第3步开始:

  • 提示:请先确定安装了Composer Asset插件:

    php composer.phar global require "fxp/composer-asset-plugin:^1.2.0"
    
  1. git clone 项目

    git clone [email protected]:myloveGy/examination.git
    
  2. composer install

    php composer install
    
    • composer 如果安装慢的话,可能是 yii 镜像问题,建议镜像使用**镜像

    **镜像 https://pkg.phpcomposer.com/

  3. 将SQL文件导入数据库(文件位于目录下的/docs/examination.sql)

  4. 配置虚拟目录(需要开启路由重写),后台地址:域名/admin

    超级管理员: super 密码: admin123

    普通管理员: admin 密码: admin123

项目数据库配置文件被我屏蔽掉了,需要在项目 config 中添加 db.php 文件

return [
    'class'       => 'yii\db\Connection',
    'dsn'         => 'mysql:host=localhost;dbname=examination',
    'username'    => 'root',
    'password'    => '',
    'charset'     => 'utf8',
    'tablePrefix' => 'ks_',
];

Demo 地址

demo网址

预览

  1. 首页 首页
  2. 类型选择 类型选择
  3. 顺序答题 顺序答题
  4. 模拟考试 模拟考试
  5. 后台管理 后台管理

项目参考

驾考宝典

examination's People

Contributors

mylovegy avatar

Watchers

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