Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit cc3fa0f

Browse files
committed
Merge pull request #477 from symfony-cmf/bundle-install
Bundle install
2 parents e9ba818 + 78e5872 commit cc3fa0f

File tree

13 files changed

+186
-126
lines changed

13 files changed

+186
-126
lines changed

book/installation.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ and then get the Symfony CMF code with it (this may take a while):
6060

6161
.. code-block:: bash
6262
63-
$ php composer.phar create-project symfony-cmf/standard-edition cmf ~1.1
64-
$ cd cmf
63+
$ php composer.phar create-project symfony-cmf/standard-edition <path-to-install> ~1.1
64+
$ cd <path-to-install>
6565
6666
.. note::
6767

68-
The path ``<path-to-install>`` should either inside your web server doc
69-
root or configure a virtual host for ``<path-to-install>``.
68+
The path ``<path-to-install>`` should either be inside your web server doc
69+
root or you need to configure a virtual host for ``<path-to-install>``.
7070

7171
This will clone the Standard Edition and install all the dependencies and run
7272
some initial commands. These commands require write permissions to the
@@ -89,7 +89,7 @@ from github:
8989
$ git clone git://github.com/symfony-cmf/symfony-cmf-standard.git <path-to-install>
9090
$ cd <path-to-install>
9191
92-
You still need Composer to get the dependencies. To install or update the
92+
You still need Composer to get the dependencies. To get the correct
9393
dependencies, use the ``install`` command:
9494

9595
.. code-block:: bash

bundles/block/introduction.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ including the ability to edit them. See :doc:`types`.
1515
Installation
1616
------------
1717

18-
You can install the bundle in 2 different ways:
19-
20-
* Use the official Git repository (https://github.com/symfony-cmf/BlockBundle);
21-
* Install it via Composer (``symfony-cmf/block-bundle`` on `Packagist`_).
18+
You can install this bundle `with composer`_ using the
19+
`symfony-cmf/block-bundle`_ package.
2220

2321
.. _bundle-block-configuration:
2422

@@ -383,7 +381,8 @@ Read on
383381
* :doc:`cache`
384382
* :doc:`relation_to_sonata_block_bundle`
385383

386-
.. _`Packagist`: https://packagist.org/packages/symfony-cmf/block-bundle
384+
.. _`symfony-cmf/block-bundle`: https://packagist.org/packages/symfony-cmf/block-bundle
385+
.. _`with composer`: http://getcomposer.org
387386
.. _`Symfony CMF Sandbox`: https://github.com/symfony-cmf/cmf-sandbox
388387
.. _`prepended configuration`: http://symfony.com/doc/current/components/dependency_injection/compilation.html#prepending-configuration-passed-to-the-extension
389388
.. _`SonataBlockBundle`: https://github.com/sonata-project/SonataBlockBundle

bundles/content/introduction.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@ For an introduction see the ":doc:`../../book/static_content`" article of the
1414
Installation
1515
------------
1616

17-
You can install the bundle in 2 different ways:
18-
19-
* Use the official Git repository (https://github.com/symfony-cmf/ContentBundle);
20-
* Install it via Composer (``symfony-cmf/content-bundle`` on `Packagist`_).
17+
You can install this bundle `with composer`_ using the
18+
`symfony-cmf/content-bundle`_ package.
2119

2220
Usage
2321
-----
@@ -226,4 +224,5 @@ The ContentBundle also provides an Admin class to enable creating, editing and
226224
removing static content from the admin panel. To enable the admin, use the
227225
``cmf_content.persistence.phpcr.use_sonata_admin`` setting.
228226

229-
.. _`Packagist`: https://packagist.org/packages/symfony-cmf/content-bundle
227+
.. _`with composer`: http://getcomposer.org
228+
.. _`symfony-cmf/content-bundle`: https://packagist.org/packages/symfony-cmf/content-bundle

bundles/core/introduction.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,8 @@ defaults for most of the other CMF Bundles.
2020
Installation
2121
------------
2222

23-
You can install the bundle in 2 different ways:
24-
25-
* Use the official Git repository (https://github.com/symfony-cmf/CoreBundle);
26-
* Install it via Composer (``symfony-cmf/core-bundle`` on `Packagist`_).
23+
You can install this bundle `with composer`_ using the
24+
`symfony-cmf/core-bundle`_ package.
2725

2826
Sections
2927
--------
@@ -33,4 +31,5 @@ Sections
3331
* :doc:`templating`
3432
* :doc:`persistence`
3533

36-
.. _`Packagist`: https://packagist.org/packages/symfony-cmf/core-bundle
34+
.. _`symfony-cmf/core-bundle`: https://packagist.org/packages/symfony-cmf/core-bundle
35+
.. _`with composer`: http://getcomposer.org

bundles/media/introduction.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,8 @@ persisted using Doctrine PHPCR-ODM, Doctrine ORM or something else.
4040
Installation
4141
------------
4242

43-
1. You can install the bundle in 2 different ways:
44-
45-
* Use the official Git repository (https://github.com/symfony-cmf/MediaBundle);
46-
* Install it via Composer (``symfony-cmf/media-bundle`` on `Packagist`_).
43+
1. You can install the bundle via Composer (``symfony-cmf/media-bundle`` on
44+
`Packagist`_).
4745

4846
2. When using the file and image controller for downloading, uploading and
4947
displaying, add the following lines to the end of your routing file:

bundles/menu/introduction.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ For more information see the `rendering menus`_ section of the KnpMenuBundle doc
150150

151151
.. _`KnpMenu`: https://github.com/knplabs/KnpMenu
152152
.. _`KnpMenuBundle`: https://github.com/knplabs/KnpMenuBundle
153-
154153
.. _`with composer`: http://getcomposer.org
155154
.. _`rendering menus`: https://github.com/KnpLabs/KnpMenuBundle/blob/master/Resources/doc/index.md#rendering-menus
156155
.. _`symfony-cmf/menu-bundle`: https://packagist.org/packages/symfony-cmf/menu-bundle

bundles/routing/introduction.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ the application configuration.
2828
Finally this bundles provides route documents for Doctrine PHPCR-ODM and
2929
ORM, as well as a controller for redirection routes.
3030

31+
Installation
32+
------------
33+
34+
You can install this bundle `with composer`_ using the
35+
`symfony-cmf/routing-bundle`_ package.
36+
3137
.. index:: RoutingBundle
3238
.. index:: Routing
3339

@@ -97,6 +103,8 @@ For more information on Routing in the Symfony CMF, please refer to:
97103
for implementation details of the routers.
98104
* Symfony2's `Routing`_ component documentation.
99105

106+
.. _`with composer`: http://getcomposer.org
107+
.. _`symfony-cmf/routing-bundle`: https://packagist.org/packages/symfony-cmf/routing-bundle
100108
.. _`RoutingBundle`: https://github.com/symfony-cmf/RoutingBundle#readme
101109
.. _`PHPCR-ODM`: http://www.doctrine-project.org/projects/phpcr-odm.html
102110
.. _`documentation for DependencyInjection tags`: http://symfony.com/doc/2.1/reference/dic_tags.html

bundles/search/introduction.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ SearchBundle
1010
Installation
1111
------------
1212

13-
You can install the bundle in 2 different ways:
14-
15-
* Use the official Git repository (https://github.com/symfony-cmf/SearchBundle);
16-
* Install it via Composer (``symfony-cmf/search-bundle`` on `Packagist`_).
13+
You can install this bundle `with composer`_ using the
14+
`symfony-cmf/search-bundle`_ package.
1715

1816
Routing
1917
~~~~~~~
@@ -49,4 +47,6 @@ Finally, add the relevant routing to your configuration
4947
return $collection;
5048
5149
.. _`LiipSearchBundle`: https://github.com/liip/LiipSearchBundle
52-
.. _`Packagist`: https://packagist.org/packages/symfony-cmf/search-bundle
50+
.. _`symfony-cmf/search-bundle`: https://packagist.org/packages/symfony-cmf/search-bundle
51+
.. _`with composer`: http://getcomposer.org
52+

bundles/simple_cms/introduction.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,8 @@ The `CMF website`_ is an application using the SimpleCmsBundle.
2727
Installation
2828
------------
2929

30-
You can install the bundle in 2 different ways:
31-
32-
* Use the official Git repository (https://github.com/symfony-cmf/SimpleCmsBundle);
33-
* Install it via Composer (``symfony-cmf/simple-cms-bundle`` on `Packagist`_).
30+
You can install this bundle `with composer`_ using the
31+
`symfony-cmf/simple-cms-bundle`_ package.
3432

3533
Sections
3634
--------
@@ -41,4 +39,6 @@ Sections
4139

4240
.. _`Symfony CMF Standard Edition`: https://github.com/symfony-cmf/symfony-cmf-standard
4341
.. _`CMF website`: https://github.com/symfony-cmf/cmf-website/
44-
.. _`Packagist`: https://packagist.org/packages/symfony-cmf/simple-cms-bundle
42+
.. _`symfony-cmf/simple-cms-bundle`: https://packagist.org/packages/symfony-cmf/simple-cms-bundle
43+
.. _`with composer`: http://getcomposer.org
44+

bundles/tree_browser/introduction.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@ This bundle consists of two parts:
1717
Installation
1818
------------
1919

20-
You can install the bundle in 2 different ways:
21-
22-
* Use the official Git repository (https://github.com/symfony-cmf/TreeBrowserBundle);
23-
* Install it via Composer (``symfony-cmf/tree-browser-bundle`` on `Packagist`_).
20+
You can install this bundle `with composer`_ using the
21+
`symfony-cmf/tree-browser-bundle`_ package.
2422

2523
Routing
2624
-------
@@ -252,7 +250,8 @@ For example, if your want to open a custom action:
252250
),
253251
));
254252
255-
.. _`Packagist`: https://packagist.org/packages/symfony-cmf/tree-browser-bundle
253+
.. _`symfony-cmf/tree-browser-bundle`: https://packagist.org/packages/symfony-cmf/tree-browser-bundle
254+
.. _`with composer`: http://getcomposer.org
256255
.. _`FOSJsRoutingBundle`: https://github.com/FriendsOfSymfony/FOSJsRoutingBundle
257256
.. _`admin_tree.js`: https://github.com/sonata-project/SonataDoctrinePhpcrAdminBundle/blob/master/Resources/views/Tree/tree.html.twig
258257
.. _`select_tree.js`: https://github.com/sonata-project/SonataDoctrinePhpcrAdminBundle/blob/master/Resources/views/Form/form_admin_fields.html.twig

0 commit comments

Comments
 (0)