|
@@ -26,6 +26,14 @@ in your ``deps`` file::
|
|
git=http://github.com/sonata-project/SonataAdminBundle.git
|
|
git=http://github.com/sonata-project/SonataAdminBundle.git
|
|
target=/bundles/Sonata/AdminBundle
|
|
target=/bundles/Sonata/AdminBundle
|
|
|
|
|
|
|
|
+ [SonataBlockBundle]
|
|
|
|
+ git=http://github.com/sonata-project/SonataBlockBundle.git
|
|
|
|
+ target=/bundles/Sonata/BlockBundle
|
|
|
|
+
|
|
|
|
+ [SonataCacheBundle]
|
|
|
|
+ git=http://github.com/sonata-project/SonataCacheBundle.git
|
|
|
|
+ target=/bundles/Sonata/CacheBundle
|
|
|
|
+
|
|
[SonatajQueryBundle]
|
|
[SonatajQueryBundle]
|
|
git=http://github.com/sonata-project/SonatajQueryBundle.git
|
|
git=http://github.com/sonata-project/SonatajQueryBundle.git
|
|
target=/bundles/Sonata/jQueryBundle
|
|
target=/bundles/Sonata/jQueryBundle
|
|
@@ -46,14 +54,6 @@ and run the vendors script to download bundles::
|
|
|
|
|
|
php bin/vendors install
|
|
php bin/vendors install
|
|
|
|
|
|
-If you prefer instead to use git submodules, then run the following:
|
|
|
|
-
|
|
|
|
- git submodule add http://github.com/sonata-project/SonataAdminBundle.git vendor/bundles/Sonata/AdminBundle
|
|
|
|
- git submodule add http://github.com/sonata-project/SonatajQueryBundle.git vendor/bundles/Sonata/jQueryBundle
|
|
|
|
- git submodule add http://github.com/KnpLabs/KnpMenuBundle.git vendor/bundles/Knp/Bundle/MenuBundle
|
|
|
|
- git submodule add http://github.com/KnpLabs/KnpMenu.git vendor/knp/menu
|
|
|
|
- git submodule update --init
|
|
|
|
-
|
|
|
|
Next, be sure to enable this bundles in your autoload.php and AppKernel.php
|
|
Next, be sure to enable this bundles in your autoload.php and AppKernel.php
|
|
files:
|
|
files:
|
|
|
|
|
|
@@ -76,6 +76,8 @@ files:
|
|
return array(
|
|
return array(
|
|
// ...
|
|
// ...
|
|
new Sonata\AdminBundle\SonataAdminBundle(),
|
|
new Sonata\AdminBundle\SonataAdminBundle(),
|
|
|
|
+ new Sonata\BlockBundle\SonataBlockBundle(),
|
|
|
|
+ new Sonata\CacheBundle\SonataCacheBundle(),
|
|
new Sonata\jQueryBundle\SonatajQueryBundle(),
|
|
new Sonata\jQueryBundle\SonatajQueryBundle(),
|
|
new Knp\Bundle\MenuBundle\KnpMenuBundle(),
|
|
new Knp\Bundle\MenuBundle\KnpMenuBundle(),
|
|
// ...
|
|
// ...
|