包含前后台登录认证的后台管理系统,模板为
color admin
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
location / {
index index.html index.htm index.php;
if (!-e $request_filename){
rewrite ^/(.*)$ /index.php/$1 last;
}
}
后台账号:[email protected]
后台密码:admin