Explorar o código

add installation with bin/vendors script

Quentin Pleplé %!s(int64=14) %!d(string=hai) anos
pai
achega
1325aec445
Modificáronse 1 ficheiros con 28 adicións e 2 borrados
  1. 28 2
      Resources/doc/reference/installation.rst

+ 28 - 2
Resources/doc/reference/installation.rst

@@ -4,8 +4,34 @@ Installation
 Download bundles
 ----------------
 
-To begin, add the dependent bundles to the ``vendor/bundles`` directory. If you are using
-git, you can add them as submodules::
+To begin, add the dependent bundles to the ``vendor/bundles`` directory. Add
+the following lines to the file ``deps``::
+
+  [SonatajQueryBundle]
+      git=http://github.com/sonata-project/SonatajQueryBundle.git
+      target=/bundles/Sonata/jQueryBundle
+  
+  [SonataBluePrintBundle]
+      git=http://github.com/sonata-project/SonataBluePrintBundle.git
+      target=/bundles/Sonata/BluePrintBundle
+  
+  [SonataUserBundle]
+      git=http://github.com/sonata-project/SonataUserBundle.git
+      target=/bundles/Sonata/UserBundle
+      
+  [SonataAdminBundle]
+      git=http://github.com/sonata-project/SonataAdminBundle.git
+      target=/bundles/Sonata/AdminBundle
+  
+  [MenuBundle]
+      git=http://github.com/knplabs/KnpMenuBundle.git
+      target=/bundles/Knp/Bundle/MenuBundle
+
+and run::
+  
+  bin/vendors install
+
+If you are using git, you can add them as submodules::
 
   git submodule add git://github.com/sonata-project/SonatajQueryBundle.git vendor/bundles/Sonata/jQueryBundle
   git submodule add git://github.com/sonata-project/SonataBluePrintBundle.git vendor/bundles/Sonata/BluePrintBundle