Giter Site home page Giter Site logo

mr1bundle's Introduction

mr1bundle

  • timeline page

  • clone here symfony_folder\src\mr1

  • register the new bundle in symfony_folder\app\AppKernel.php into "bundles" array : new mr1\Mr1Bundle\mr1Mr1Bundle()

  • include the routing file of the new bundle in symfony_folder\app\config\routing.yml : mr1_mr1: resource: "@mr1Mr1Bundle/Resources/config/routing.yml" prefix: /

  • include our yml file in symfony_folder\app\config\config.yml : imports: - { resource: @mr1Mr1Bundle/Resources/config/days2.yml } - { resource: @mr1Mr1Bundle/Resources/config/days3.yml } // the new route will be "site/newtimeline"

  • run the run the following command from console in you're "symfony_folder" : php app/console assets:install web

  • composer.json content:

  • { "name": "symfony/framework-standard-edition", "description": "The "Symfony Standard Edition" distribution", "autoload": { "psr-0": { "": "src/" } }, "require": { "php": ">=5.3.3", "symfony/symfony": "2.1.", "doctrine/orm": ">=2.2.3,<2.4-dev", "doctrine/doctrine-bundle": "1.1.", "twig/extensions": "1.0.@dev", "symfony/assetic-bundle": "2.1.", "symfony/swiftmailer-bundle": "2.1.", "symfony/monolog-bundle": "2.1.", "sensio/distribution-bundle": "2.1.", "sensio/framework-extra-bundle": "2.1.", "sensio/generator-bundle": "2.1.", "jms/security-extra-bundle": "1.2.", "jms/di-extra-bundle": "1.1.", "kriswallsmith/assetic": "1.1.@dev" }, "scripts": { "post-install-cmd": [ "Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap", "Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache", "Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets", "Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile" ], "post-update-cmd": [ "Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap", "Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache", "Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets", "Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile" ] }, "extra": { "symfony-app-dir": "app", "symfony-web-dir": "web" } }

=========

mr1bundle's People

Contributors

tudorhornai avatar thornai avatar pmocean avatar

Watchers

James Cloos 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.