Code Monkey home page Code Monkey logo

mopabootstrapsandboxbundle's Introduction

README

Live Show

To see the bundle and its capabilities online just have a look on MopaBootstrapBundle Live

Introduction

MopaBootstrapSandboxBundle is a demo case howto use the MopaBootstrapBundle.

Installation

To use this in any of your projects (e.g. to make changes in MopaBootstrapBundle and see if it affects the Sandbox)

For detailed installation instructions also have a look into MopaBoostrapBundle Documentation

just add this to your composer.json:

{
    "require": {
        "mopa/bootstrap-sandbox-bundle": "dev-master"
    }
}

and add to your AppKernel:

    // ...
            new Mopa\Bundle\BootstrapSandboxBundle\MopaBootstrapSandboxBundle(),
        	new Liip\ThemeBundle\LiipThemeBundle(),
            new Knp\Bundle\MenuBundle\KnpMenuBundle(),
    // ...

if you are using sf 2.0.x have a look into the README of the v2.0.x branch:

https://github.com/phiamo/MopaBootstrapSandboxBundle/tree/v2.0.x

run

composer.phar update # --dev if you added it to require-dev

If you are not using the https://github.com/phiamo/symfony-bootstrap-sandbox You have to configure your project a little bit further.

For this to work its required to have less installed:

config.yml:

# import example configs
imports:
    - { resource: @MopaBootstrapSandboxBundle/Resources/config/themes.yml }
    - { resource: @MopaBootstrapSandboxBundle/Resources/config/examples/example_menu.yml }
    - { resource: @MopaBootstrapSandboxBundle/Resources/config/examples/example_navbar.yml }

# Assetic Configuration
assetic:
    filters:
        less:
            node: /usr/bin/node
            node_paths: [/opt/lessc/lib, /usr/lib/node_modules]
            apply_to: "\.less$"

routing.yml:

MopaBootstrapSandbox:
    resource: "@MopaBootstrapSandboxBundle/Resources/config/routing.yml"

this imports the routes to be abled to access it in your browser via:

http://yourproject/mopa/bootstrap

mopabootstrapsandboxbundle's People

Contributors

phiamo avatar nysander avatar mdrollette avatar hardchor avatar

Watchers

James Cloos avatar Andraž Jalovec 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.