Git Product home page Git Product logo

larxy's Introduction

一个基于laravel5.1的后台系统

模版采用 inspinia 样式参照:cn_inspinia

前端代码更新

npm install

npm run dev # 开发
npm run prod  # 正式

执行命令

composer upadte

#配置完成后

php artisan migrate

php artisan db:seed --class=addAdminUserData
菜单生成规则

    Controllers/Admin/*

            ---xxxController.php
            ---xxxController.php
            ---xxxController.php
            ---xxxController.php

    /**
     * @Cname:控制面板            父级菜单名称
     * @Cstyle:fa-dashboard     菜单显示样式
     * @Csort:1                 排序
     */
    class HomeController extends Controller
    {
        /**
         * @Fname:首页      二级菜单名称
         * @Fdisplay:true   是否显示
         * @Fstyle:fa-circle-o   样式
         * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
         */
        public function index(Request $request)
        {
                ...


配置

APP_ENV=local
APP_DEBUG=true
APP_KEY=byYIgBzue7JzD22RB5edAYN01Tp6rM0t
APP_LOG=daily
LOG_STORAGE=false #日志存储(同时在mongodb存一份) LOG_STORAGE=mongodb
APP_MD5_SALT=FSUd52148e8

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_DATABASE=test
DB_USERNAME=root
DB_PASSWORD=

CACHE_DRIVER=redis
SESSION_DRIVER=redis
QUEUE_DRIVER=redis
CACHE_PREFIX=lar51

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=**
REDIS_DB='0'
REDIS_SESSION_DB=1
REDIS_PORT=6379

MG_HOST=192.168.0.51
MG_PORT=27017
MG_DB=admin
MG_USER=admin
MG_PASS=123321


MAIL_DRIVER=smtp
MAIL_HOST=smtp.exmail.qq.com
MAIL_PORT=465
[email protected]
MAIL_PASSWORD=123321
MAIL_ENCRYPTION=ssl

其它

log控制台查看

http://{domain}/admin/log-viewer?f=二级的文件夹名称

默认用户名 [email protected]
密码:123321aa

演示Click

larxy's People

Contributors

alonexy avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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