一、环境及软件

window X64

phpstudy_x64_8.1.0.1.exe 集成环境

下载地址
https://www.xp.cn/ Nginx1.15.11
MySQL5.7.26
PHP7.1.9nts

composr1.9.2

下载地址
https://getcomposer.org/download/
中国镜像
https://www.phpcomposer.com/

Git-2.25.0-64-bit

下载地址
https://git-scm.com/

github

token设置地址
https://github.com/settings/tokens

PhpStorm-2019.3.2

下载地址
https://www.jetbrains.com/zh/phpstorm/promo/

lareval 5.8.*

下载地址
https://packagist.org/packages/laravel/framework github地址
https://github.com/laravel/laravel

z-song/laravel-admin

github地址
https://github.com/z-song/laravel-admin

如果官网下载慢,提供网盘软件汇总下载

链接:
https://pan.baidu.com/s/1Vn3F5PHjSTpu9UfaB0JFjg
提取码: 3mhp
如果失效请联系 QQ1419253521

二、流程

2.1 站点搭建

新增站点 www.laadmin.com

站点目录为 wwwroot/www.laadmin.com

2.2 laveral

命令窗口使用 git bash窗口

删除 www.laadmin.com

设置composr中国镜像

composer config -g repo.packagist composer https://packagist.phpcomposer.com
或者 阿里云镜像(推荐)
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/

下载laveral

composer create-project --prefer-dist laravel/laravel www.laadmin.com "5.8.*"
输入token
等待安装成功。。。

修改站点目录: 原先目录/public

修改配置文件 www.laadmin.com/.env 配置数据库信息

如有问题,参考 laveral中文手册

https://learnku.com/docs/laravel/5.8/installation/3879

2.3 laveral-admin

参考 github安装流程

composer require encore/laravel-admin

php artisan vendor:publish --provider="Encore\Admin\AdminServiceProvider"

php artisan admin:install

参考中文文档安装流程

https://laravel-admin.org/docs/zh/installation

出现 mysql5.7及以下出错

Illuminate\Database\QueryException  : SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes

解决方法:

/app/providers/AppServiceProvider.php

public function boot()
{
//添加
Schema::defaultStringLength(191);
}

后台地址 /index.php/admin

帐号密码 admin admin

2.4 laveral-admin后台使用

安装常用工具

laravel-admin-ext/helpers

laravel-admin-ext/media-manager

lareval 快速搭建管理后台的更多相关文章

  1. Laravel-Easy-Admin 快速搭建数据后台 web管理后台

    基于PHP + Laravel + element-admin-ui 搭建的快速数据后台,只在解决系列后台增删改查等日常操作.快速搭建,在生成业务的同时可以花更多的时间关注技术本身,提高程序员自身进阶 ...

  2. Laravel 6 – 搭建管理后台的用户认证“脚手架”工具

    1. 下载Laravel/ui 命令: composer require laravel/ui "^1.0" -dev 注意laravel framework 6只支持版本1的la ...

  3. xadmin快速搭建一个后台管理系统

    环境:python3.5.2 ,django 2.0 ,xadmin2.0 Firsttly, 到 https://github.com/sshwsfc/xadmin/tree/django2上下载源 ...

  4. django入门5使用xadmin搭建管理后台

    环境搭建: pip install django==1.9.8 pip install MySQL_python-1.2.5-cp27-none-win_amd64.whl pip install f ...

  5. 使用laravel一分钟搭建CURD后台页面

    配置即一切 一切皆于需求,后台从0开始搭建,但是写了一两个页面后发现太多的是对单表的增删改查操作,于是就想到了,能不能做一个快速搭建的后台.想到一句话,配置即一切.如果一个CURD后台能只进行配置就自 ...

  6. 使用laravel搭建CURD后台页面

    配置即一切 一切皆于需求,后台从0开始搭建,但是写了一两个页面后发现太多的是对单表的增删改查操作,于是就想到了,能不能做一个快速搭建的后台.想到一句话,配置即一切.如果一个CURD后台能只进行配置就自 ...

  7. django+x-admin管理后台模板开发管理后台案例(设计部分)

    使用django+x-admin管理后台模板搭建管理后台 一.环境需求 1.django:3.1 2.python:3.7 3.x-admin:2.2 4.pycharm:2020.3.2 5.ubu ...

  8. 管理后台Vue

    管理后台 遇到的问题 搭建 基于vue 3.0 Vue CLI 4.x Ant Design Vue 2.0 搭建后台管理系统 Ant Design Vue 2.0 npm i --save ant- ...

  9. EpiiAdmin 开源的php交互性管理后台框架, 让复杂的交互变得更简单!Phper快速搭建交互性平台的开发框架,基于Thinkphp5.1+Adminlte3.0+Require.js。

    EpiiAdmin EpiiAdmin php开源交互性管理后台框架,基于Thinkphp5.1+Adminlte3.0+Require.js, 让复杂的交互变得更简单!Phper快速搭建交互性平台的 ...

随机推荐

  1. jitamin基于lnmp环境搭建

    从github上面下载源代码 cd /Data/apps/nginx/html git clone https://github.com/jitamin/jitamin.git 修改配置文件 cd   ...

  2. 分布式事务框架-seata初识

    一.事务与分布式事务 事务,在数据库中指的是操作数据库的最小单位,往大了看,事务是应用程序中一系列严密的操作,所有操作必须成功完成,否则在每个操作中所作的所有更改都会被撤消. 那为什么会有分布式事务呢 ...

  3. 洛谷$P1527$ [国家集训队]矩阵乘法 整体二分

    正解:整体二分 解题报告: 传送门$QwQ$ 阿看到这种查询若干次第$k$小显然就想到整体二分$QwQ$? 然后现在就只要考虑怎么快速求出一个矩形内所有小于某个数的数的个数? 开始我的想法是离散化然后 ...

  4. Spring MVC拦截器配置

    Spring MVC拦截器配置 (1)自定义拦截器 package learnspringboot.xiao.other; import org.springframework.web.servlet ...

  5. 洛谷P1462 通往奥格瑞玛的道路 题解 最短路+二分答案

    题目链接:https://www.luogu.com.cn/problem/P1462 题目大意: 有 \(n\) 个点 \(m\) 条边,每个点有一个点权,每个边有一个边权.求所有长度不超过 \(b ...

  6. 设置文本框的 placeholder 的颜色

    使用方法: 选择器类型::-webkit-input-placeholder input::-webkit-input-placeholder{ color:rgba(144,147,153,1); ...

  7. SpringBoot基础架构篇3(Redis)

    show me the code and talk to me,做的出来更要说的明白 我是布尔bl,你的支持是我分享的动力! 1 引入 数据库达到瓶颈,有什么解决方法. Redis 可以很好解决这个问 ...

  8. Qt5学习(2)

    1.学习了qt quick application 这是一种跟application不同的设计方式.主要就是靠“拖拖拽拽”,然后设置属性(颜色,大小),布局(margins等),然后要注意控件的从属关 ...

  9. 多态(C++)

    #include <iostream> using namespace std; class HeroFighter { public: virtual int power() { ; } ...

  10. Python学习中的“按位取反”笔记总结

    | 疑惑 最近在学习Python的过程中了解到位运算符,但对于按位取反有点迷糊,就比如说~9(按位取反)之后的结果是-10,为什么不是6呢?所以下面就来看看为什么不是6,正确结果是如何计算出来的呢? ...