Skip to content

laravel5.2权限管理后台,color admin模板,前后台登录认证

Notifications You must be signed in to change notification settings

userofadmin/zhanghaobao

 
 

Repository files navigation

zhanghaobao

包含前后台登录认证的后台管理系统,模板为color admin

image1

image2

image3

安装

克隆资源库

git clone https://github.com/jwwb681232/zhanghaobao.git ./

安装依赖关系

composer install

复制配置文件

cp .env.example .env

创建新的应用程序密钥

php artisan key:generate

设置数据库

编辑.env文件

CACHE_DRIVER=array

DB_HOST=YOUR_DATABASE_HOST
DB_DATABASE=YOUR_DATABASE_NAME
DB_USERNAME=YOUR_DATABASE_USERNAME
DB_PASSWORD=YOUR_DATABASE_PASSWORD

添加自动加载

composer dump-autoload

运行数据库迁移

php artisan migrate

运行数据填充

php artisan db:seed

nginx rewrite配置

location / {
    index  index.html index.htm index.php;
    if (!-e $request_filename){
         rewrite ^/(.*)$ /index.php/$1 last;
    }
}

访问

http://xxx.com/admin

后台账号:[email protected]

后台密码:admin

About

laravel5.2权限管理后台,color admin模板,前后台登录认证

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 56.3%
  • JavaScript 30.7%
  • CSS 9.8%
  • PHP 1.9%
  • CoffeeScript 1.1%
  • Python 0.2%