Code Monkey home page Code Monkey logo

laravel-coloradmin's Introduction

laravel-coloradmin

采用laravel5.2框架结合了color-admin、权限管理用zizaco/entrust、数据模型用prettus/l5-repository、及调试DEBUG barryvdh/laravel-debugbar

安装&配置

gitclone资源库

git clone https://github.com/onming/laravel-coloradmin.git

composer安装依赖库

cd laravel-coloradmin
composer install

设置目录权限Windows请忽略

chown -R www:www laravel-coloradmin
chmod -R 775 laravel-coloradmin

使用artisan创建新的应用密钥

php artisan key:generate

设置.env环境配置

DB_HOST=127.0.0.1
DB_DATABASE=laravel-coloradmin
DB_USERNAME=root
DB_PASSWORD=root

CACHE_DRIVER=array
SESSION_DRIVER=file
QUEUE_DRIVER=sync

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

使用artisan执行数据库迁移

php artisan migrate

使用artisan执行数据库填充

php artisan db:seed

DEMO

后台访问地址:http://laravel-coloradmin.onming.cn/admin
账号:[email protected]
密码:admin

laravel-coloradmin's People

Contributors

onming 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.