Git Product home page Git Product logo

kododashboardbundle's Introduction

Kodo's Dashboard

Dashboard Bundle for symfony >= 3.3

####Requirement :

(for both following requirement, see 3. for configuration example)

  • Assetic bundle :

    composer require symfony/assetic-bundle

  • twitter/bootstrap vendors

    add "twitter/bootstrap": "3.*" to your composer.json

####Steps :

  1. Add ["Kodo\\": "src/Kodo"] to your composer.json

  2. php bin/console doctrine:schema:update --force

  3. Assetic configuration in config.yml

     # Assetic Configuration
     assetic:
         debug:          "%kernel.debug%"
         use_controller: false
     #    bundles:        [ '*Place your bundle names here*' ]
     
         filters:
             cssrewrite: ~
         assets:
             bootstrap_js:
                 inputs:
                     - '%kernel.root_dir%/../vendor/twitter/bootstrap/dist/js/bootstrap.js'
             bootstrap_css:
                 inputs:
                     - '%kernel.root_dir%/../vendor/twitter/bootstrap/dist/css/bootstrap.css'
                     - '%kernel.root_dir%/../vendor/twitter/bootstrap/dist/css/bootstrap-theme.css'
     #            filters: [cssrewrite]
     
             bootstrap_glyphicons_ttf:
                 inputs:
                     - '%kernel.root_dir%/../vendor/twitter/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf'
                 output: "fonts/glyphicons-halflings-regular.ttf"
             bootstrap_glyphicons_eot:
                 inputs:
                     - '%kernel.root_dir%/../vendor/twitter/bootstrap/dist/fonts/glyphicons-halflings-regular.eot'
                 output: "fonts/glyphicons-halflings-regular.eot"
             bootstrap_glyphicons_svg:
                 inputs:
                     - '%kernel.root_dir%/../vendor/twitter/bootstrap/dist/fonts/glyphicons-halflings-regular.svg'
                 output: "fonts/glyphicons-halflings-regular.svg"
             bootstrap_glyphicons_woff:
                 inputs:
                     - '%kernel.root_dir%/../vendor/twitter/bootstrap/dist/fonts/glyphicons-halflings-regular.woff'
                 output: "fonts/glyphicons-halflings-regular.woff"
     
             jquery:
                 inputs:
                     - 'https://code.jquery.com/jquery-3.2.1.min.js'
    
  4. run php bin/console assetic:dump

  5. (optionnal) Change prefix: / in /app/config/routing.yml for the Dashboard bundle depending on your project security configuration

kododashboardbundle's People

Watchers

 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.