From 2d01407fd230fc582f3e83480a7aefcce38dabb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20J=C4=99drzejewski?= Date: Tue, 27 Dec 2011 14:11:16 +0100 Subject: [PATCH] more initial commits. --- bundles/SyliusAddressingBundle.rst | 159 +++++++++++++++++++++++++++++ bundles/SyliusAssortmentBundle.rst | 3 - bundles/SyliusBloggerBundle.rst | 159 +++++++++++++++++++++++++++++ bundles/SyliusCartBundle.rst | 147 ++++++++++++++++++++++++++ bundles/SyliusCatalogBundle.rst | 58 ++++++++++- bundles/SyliusGuardBundle.rst | 159 +++++++++++++++++++++++++++++ bundles/SyliusInstallerBundle.rst | 136 ++++++++++++++++++++++++ bundles/SyliusNewsletterBundle.rst | 159 +++++++++++++++++++++++++++++ bundles/SyliusPluginsBundle.rst | 136 ++++++++++++++++++++++++ bundles/SyliusSalesBundle.rst | 159 +++++++++++++++++++++++++++++ bundles/SyliusThemingBundle.rst | 136 ++++++++++++++++++++++++ index.rst | 10 +- 12 files changed, 1413 insertions(+), 8 deletions(-) create mode 100644 bundles/SyliusAddressingBundle.rst create mode 100644 bundles/SyliusBloggerBundle.rst create mode 100644 bundles/SyliusCartBundle.rst create mode 100644 bundles/SyliusGuardBundle.rst create mode 100644 bundles/SyliusInstallerBundle.rst create mode 100644 bundles/SyliusNewsletterBundle.rst create mode 100644 bundles/SyliusPluginsBundle.rst create mode 100644 bundles/SyliusSalesBundle.rst create mode 100644 bundles/SyliusThemingBundle.rst diff --git a/bundles/SyliusAddressingBundle.rst b/bundles/SyliusAddressingBundle.rst new file mode 100644 index 0000000000..d30804e2a0 --- /dev/null +++ b/bundles/SyliusAddressingBundle.rst @@ -0,0 +1,159 @@ +SyliusAddressingBundle +====================== + +Highly flexible Addressing engine. + +Installation +------------ + +Installing dependencies +~~~~~~~~~~~~~~~~~~~~~~~ + +This bundle uses **Pagerfanta library** and **PagerfantaBundle**. + +The installation guide can be found `here `_. + +Downloading the bundle +~~~~~~~~~~~~~~~~~~~~~~ + +The good practice is to download it to `vendor/bundles/Sylius/Bundle/AddressingBundle`. + +This can be done in several ways, depending on your preference. + +The first method is the standard Symfony2 method. + +Using the vendors script +************************ + +Add the following lines in your `deps` file. :: + + [SyliusAddressingBundle] + git=git://github.com/Sylius/SyliusAddressingBundle.git + target=bundles/Sylius/Bundle/AddressingBundle + +Now, run the vendors script to download the bundle. + +.. code-block:: bash + + $ php bin/vendors install + +Using submodules +**************** + +If you prefer instead to use git submodules, then run the following lines. + +.. code-block:: bash + + $ git submodule add git://github.com/Sylius/SyliusAddressingBundle.git vendor/bundles/Sylius/Bundle/AddressingBundle + $ git submodule update --init + +Autoloader configuration +~~~~~~~~~~~~~~~~~~~~~~~~ + +Add the `Sylius\\Bundle` namespace to your autoloader. + +.. code-block:: php + + registerNamespaces(array( + 'Sylius\\Bundle' => __DIR__.'/../vendor/bundles' + )); + +Adding bundle to kernel +~~~~~~~~~~~~~~~~~~~~~~~ + +Finally, enable the bundle in the kernel... + +.. code-block:: php + + `_ for CI. + +Before running tests, load the dependencies using `Composer `_. + + .. code-block:: bash + + $ wget http://getcomposer.org/composer.phar + $ php composer.phar install + +Now you can test by simply using this command. + + .. code-block:: bash + + $ phpunit + +Working examples +---------------- + +If you want to see this and other bundles in action, try out the `Sylius sandbox application `_. + +It's open sourced github project. + +Dependencies +------------ + +This bundle uses the awesome `Pagerfanta library `_ and `Pagerfanta bundle `_. + +Bug tracking +------------ + +This bundle uses `GitHub issues `_. +If you have found bug, please create an issue. diff --git a/bundles/SyliusAssortmentBundle.rst b/bundles/SyliusAssortmentBundle.rst index 27d3105012..415b2d555c 100644 --- a/bundles/SyliusAssortmentBundle.rst +++ b/bundles/SyliusAssortmentBundle.rst @@ -1,6 +1,3 @@ -.. index:: - single: Bundles - SyliusAssortmentBundle ====================== diff --git a/bundles/SyliusBloggerBundle.rst b/bundles/SyliusBloggerBundle.rst new file mode 100644 index 0000000000..a8ddc7e5b1 --- /dev/null +++ b/bundles/SyliusBloggerBundle.rst @@ -0,0 +1,159 @@ +SyliusBloggerBundle +====================== + +Highly flexible Blogger engine. + +Installation +------------ + +Installing dependencies +~~~~~~~~~~~~~~~~~~~~~~~ + +This bundle uses **Pagerfanta library** and **PagerfantaBundle**. + +The installation guide can be found `here `_. + +Downloading the bundle +~~~~~~~~~~~~~~~~~~~~~~ + +The good practice is to download it to `vendor/bundles/Sylius/Bundle/BloggerBundle`. + +This can be done in several ways, depending on your preference. + +The first method is the standard Symfony2 method. + +Using the vendors script +************************ + +Add the following lines in your `deps` file. :: + + [SyliusBloggerBundle] + git=git://github.com/Sylius/SyliusBloggerBundle.git + target=bundles/Sylius/Bundle/BloggerBundle + +Now, run the vendors script to download the bundle. + +.. code-block:: bash + + $ php bin/vendors install + +Using submodules +**************** + +If you prefer instead to use git submodules, then run the following lines. + +.. code-block:: bash + + $ git submodule add git://github.com/Sylius/SyliusBloggerBundle.git vendor/bundles/Sylius/Bundle/BloggerBundle + $ git submodule update --init + +Autoloader configuration +~~~~~~~~~~~~~~~~~~~~~~~~ + +Add the `Sylius\\Bundle` namespace to your autoloader. + +.. code-block:: php + + registerNamespaces(array( + 'Sylius\\Bundle' => __DIR__.'/../vendor/bundles' + )); + +Adding bundle to kernel +~~~~~~~~~~~~~~~~~~~~~~~ + +Finally, enable the bundle in the kernel... + +.. code-block:: php + + `_ for CI. + +Before running tests, load the dependencies using `Composer `_. + + .. code-block:: bash + + $ wget http://getcomposer.org/composer.phar + $ php composer.phar install + +Now you can test by simply using this command. + + .. code-block:: bash + + $ phpunit + +Working examples +---------------- + +If you want to see this and other bundles in action, try out the `Sylius sandbox application `_. + +It's open sourced github project. + +Dependencies +------------ + +This bundle uses the awesome `Pagerfanta library `_ and `Pagerfanta bundle `_. + +Bug tracking +------------ + +This bundle uses `GitHub issues `_. +If you have found bug, please create an issue. diff --git a/bundles/SyliusCartBundle.rst b/bundles/SyliusCartBundle.rst new file mode 100644 index 0000000000..d435471cc6 --- /dev/null +++ b/bundles/SyliusCartBundle.rst @@ -0,0 +1,147 @@ +SyliusCartBundle +====================== + +Highly flexible cart engine. + +Installation +------------ + +Downloading the bundle +~~~~~~~~~~~~~~~~~~~~~~ + +The good practice is to download it to `vendor/bundles/Sylius/Bundle/CartBundle`. + +This can be done in several ways, depending on your preference. + +The first method is the standard Symfony2 method. + +Using the vendors script +************************ + +Add the following lines in your `deps` file. :: + + [SyliusCartBundle] + git=git://github.com/Sylius/SyliusCartBundle.git + target=bundles/Sylius/Bundle/CartBundle + +Now, run the vendors script to download the bundle. + +.. code-block:: bash + + $ php bin/vendors install + +Using submodules +**************** + +If you prefer instead to use git submodules, then run the following lines. + +.. code-block:: bash + + $ git submodule add git://github.com/Sylius/SyliusCartBundle.git vendor/bundles/Sylius/Bundle/CartBundle + $ git submodule update --init + +Autoloader configuration +~~~~~~~~~~~~~~~~~~~~~~~~ + +Add the `Sylius\\Bundle` namespace to your autoloader. + +.. code-block:: php + + registerNamespaces(array( + 'Sylius\\Bundle' => __DIR__.'/../vendor/bundles' + )); + +Adding bundle to kernel +~~~~~~~~~~~~~~~~~~~~~~~ + +Finally, enable the bundle in the kernel... + +.. code-block:: php + + `_ for CI. + +Before running tests, load the dependencies using `Composer `_. + + .. code-block:: bash + + $ wget http://getcomposer.org/composer.phar + $ php composer.phar install + +Now you can test by simply using this command. + + .. code-block:: bash + + $ phpunit + +Working examples +---------------- + +If you want to see this and other bundles in action, try out the `Sylius sandbox application `_. + +It's open sourced github project. + +Bug tracking +------------ + +This bundle uses `GitHub issues `_. +If you have found bug, please create an issue. diff --git a/bundles/SyliusCatalogBundle.rst b/bundles/SyliusCatalogBundle.rst index 5ead1a50ae..5cd8c1bc7c 100644 --- a/bundles/SyliusCatalogBundle.rst +++ b/bundles/SyliusCatalogBundle.rst @@ -1,6 +1,3 @@ -.. index:: - single: Bundles - SyliusCatalogBundle =================== @@ -32,7 +29,7 @@ Using the vendors script Add the following lines in your `deps` file. :: - [SyliusAssortmentBundle] + [SyliusCatalogBundle] git=git://github.com/Sylius/SyliusCatalogBundle.git target=bundles/Sylius/Bundle/CatalogBundle @@ -102,6 +99,59 @@ Customize the prefixes or whatever you want. resource: @SyliusCatalogBundle/Resources/config/routing/backend/category.yml prefix: /administration +.. note:: + + The bundle requires at least one catalog created. + +Usage guide +----------- + +`Sylius sandbox application `_ is a great example of this bundle usage. + +There are two confiured catalogs, one simple categories set for blog posts and one nested set of product categories. + +Catalogs configuration +~~~~~~~~~~~~~~~~~~~~~~ + +By **catalog** we understand a categorized set of objects. + +This is confiuguration used in sandbox app. + +.. code-block:: yaml + + sylius_catalog: + driver: ORM + catalogs: + blog: + property: "posts" + classes: + model: Sylius\Sandbox\Bundle\BloggerBundle\Entity\Category + templates: + backend: + list: SandboxBloggerBundle:Backend/Category:list.html.twig + show: SandboxBloggerBundle:Backend/Category:show.html.twig + create: SandboxBloggerBundle:Backend/Category:create.html.twig + update: SandboxBloggerBundle:Backend/Category:update.html.twig + frontend: + list: SandboxBloggerBundle:Frontend/Category:list.html.twig + show: SandboxBloggerBundle:Frontend/Category:show.html.twig + assortment: + property: "products" + nested: true + sorter: sylius_assortment.sorter.product + classes: + model: Sylius\Sandbox\Bundle\AssortmentBundle\Entity\Category + form: Sylius\Sandbox\Bundle\AssortmentBundle\Form\Type\CategoryFormType + templates: + backend: + list: SandboxAssortmentBundle:Backend/Category:list.html.twig + show: SandboxAssortmentBundle:Backend/Category:show.html.twig + create: SandboxAssortmentBundle:Backend/Category:create.html.twig + update: SandboxAssortmentBundle:Backend/Category:update.html.twig + frontend: + list: SandboxAssortmentBundle:Frontend/Category:list.html.twig + show: SandboxAssortmentBundle:Frontend/Category:show.html.twig + Testing and continous integration ---------------------------------- diff --git a/bundles/SyliusGuardBundle.rst b/bundles/SyliusGuardBundle.rst new file mode 100644 index 0000000000..cba795b342 --- /dev/null +++ b/bundles/SyliusGuardBundle.rst @@ -0,0 +1,159 @@ +SyliusGuardBundle +====================== + +Highly flexible Guard engine. + +Installation +------------ + +Installing dependencies +~~~~~~~~~~~~~~~~~~~~~~~ + +This bundle uses **Pagerfanta library** and **PagerfantaBundle**. + +The installation guide can be found `here `_. + +Downloading the bundle +~~~~~~~~~~~~~~~~~~~~~~ + +The good practice is to download it to `vendor/bundles/Sylius/Bundle/GuardBundle`. + +This can be done in several ways, depending on your preference. + +The first method is the standard Symfony2 method. + +Using the vendors script +************************ + +Add the following lines in your `deps` file. :: + + [SyliusGuardBundle] + git=git://github.com/Sylius/SyliusGuardBundle.git + target=bundles/Sylius/Bundle/GuardBundle + +Now, run the vendors script to download the bundle. + +.. code-block:: bash + + $ php bin/vendors install + +Using submodules +**************** + +If you prefer instead to use git submodules, then run the following lines. + +.. code-block:: bash + + $ git submodule add git://github.com/Sylius/SyliusGuardBundle.git vendor/bundles/Sylius/Bundle/GuardBundle + $ git submodule update --init + +Autoloader configuration +~~~~~~~~~~~~~~~~~~~~~~~~ + +Add the `Sylius\\Bundle` namespace to your autoloader. + +.. code-block:: php + + registerNamespaces(array( + 'Sylius\\Bundle' => __DIR__.'/../vendor/bundles' + )); + +Adding bundle to kernel +~~~~~~~~~~~~~~~~~~~~~~~ + +Finally, enable the bundle in the kernel... + +.. code-block:: php + + `_ for CI. + +Before running tests, load the dependencies using `Composer `_. + + .. code-block:: bash + + $ wget http://getcomposer.org/composer.phar + $ php composer.phar install + +Now you can test by simply using this command. + + .. code-block:: bash + + $ phpunit + +Working examples +---------------- + +If you want to see this and other bundles in action, try out the `Sylius sandbox application `_. + +It's open sourced github project. + +Dependencies +------------ + +This bundle uses the awesome `Pagerfanta library `_ and `Pagerfanta bundle `_. + +Bug tracking +------------ + +This bundle uses `GitHub issues `_. +If you have found bug, please create an issue. diff --git a/bundles/SyliusInstallerBundle.rst b/bundles/SyliusInstallerBundle.rst new file mode 100644 index 0000000000..cb5e2eea2a --- /dev/null +++ b/bundles/SyliusInstallerBundle.rst @@ -0,0 +1,136 @@ +SyliusInstallerBundle +====================== + +Highly flexible Installer engine. + +Installation +------------ + +Downloading the bundle +~~~~~~~~~~~~~~~~~~~~~~ + +The good practice is to download it to `vendor/bundles/Sylius/Bundle/InstallerBundle`. + +This can be done in several ways, depending on your preference. + +The first method is the standard Symfony2 method. + +Using the vendors script +************************ + +Add the following lines in your `deps` file. :: + + [SyliusInstallerBundle] + git=git://github.com/Sylius/SyliusInstallerBundle.git + target=bundles/Sylius/Bundle/InstallerBundle + +Now, run the vendors script to download the bundle. + +.. code-block:: bash + + $ php bin/vendors install + +Using submodules +**************** + +If you prefer instead to use git submodules, then run the following lines. + +.. code-block:: bash + + $ git submodule add git://github.com/Sylius/SyliusInstallerBundle.git vendor/bundles/Sylius/Bundle/InstallerBundle + $ git submodule update --init + +Autoloader configuration +~~~~~~~~~~~~~~~~~~~~~~~~ + +Add the `Sylius\\Bundle` namespace to your autoloader. + +.. code-block:: php + + registerNamespaces(array( + 'Sylius\\Bundle' => __DIR__.'/../vendor/bundles' + )); + +Adding bundle to kernel +~~~~~~~~~~~~~~~~~~~~~~~ + +Finally, enable the bundle in the kernel... + +.. code-block:: php + + `_ for CI. + +Before running tests, load the dependencies using `Composer `_. + + .. code-block:: bash + + $ wget http://getcomposer.org/composer.phar + $ php composer.phar install + +Now you can test by simply using this command. + + .. code-block:: bash + + $ phpunit + +Working examples +---------------- + +If you want to see this and other bundles in action, try out the `Sylius sandbox application `_. + +It's open sourced github project. + +Bug tracking +------------ + +This bundle uses `GitHub issues `_. +If you have found bug, please create an issue. diff --git a/bundles/SyliusNewsletterBundle.rst b/bundles/SyliusNewsletterBundle.rst new file mode 100644 index 0000000000..f515d679db --- /dev/null +++ b/bundles/SyliusNewsletterBundle.rst @@ -0,0 +1,159 @@ +SyliusNewsletterBundle +====================== + +Highly flexible Newsletter engine. + +Installation +------------ + +Installing dependencies +~~~~~~~~~~~~~~~~~~~~~~~ + +This bundle uses **Pagerfanta library** and **PagerfantaBundle**. + +The installation guide can be found `here `_. + +Downloading the bundle +~~~~~~~~~~~~~~~~~~~~~~ + +The good practice is to download it to `vendor/bundles/Sylius/Bundle/NewsletterBundle`. + +This can be done in several ways, depending on your preference. + +The first method is the standard Symfony2 method. + +Using the vendors script +************************ + +Add the following lines in your `deps` file. :: + + [SyliusNewsletterBundle] + git=git://github.com/Sylius/SyliusNewsletterBundle.git + target=bundles/Sylius/Bundle/NewsletterBundle + +Now, run the vendors script to download the bundle. + +.. code-block:: bash + + $ php bin/vendors install + +Using submodules +**************** + +If you prefer instead to use git submodules, then run the following lines. + +.. code-block:: bash + + $ git submodule add git://github.com/Sylius/SyliusNewsletterBundle.git vendor/bundles/Sylius/Bundle/NewsletterBundle + $ git submodule update --init + +Autoloader configuration +~~~~~~~~~~~~~~~~~~~~~~~~ + +Add the `Sylius\\Bundle` namespace to your autoloader. + +.. code-block:: php + + registerNamespaces(array( + 'Sylius\\Bundle' => __DIR__.'/../vendor/bundles' + )); + +Adding bundle to kernel +~~~~~~~~~~~~~~~~~~~~~~~ + +Finally, enable the bundle in the kernel... + +.. code-block:: php + + `_ for CI. + +Before running tests, load the dependencies using `Composer `_. + + .. code-block:: bash + + $ wget http://getcomposer.org/composer.phar + $ php composer.phar install + +Now you can test by simply using this command. + + .. code-block:: bash + + $ phpunit + +Working examples +---------------- + +If you want to see this and other bundles in action, try out the `Sylius sandbox application `_. + +It's open sourced github project. + +Dependencies +------------ + +This bundle uses the awesome `Pagerfanta library `_ and `Pagerfanta bundle `_. + +Bug tracking +------------ + +This bundle uses `GitHub issues `_. +If you have found bug, please create an issue. diff --git a/bundles/SyliusPluginsBundle.rst b/bundles/SyliusPluginsBundle.rst new file mode 100644 index 0000000000..795f940623 --- /dev/null +++ b/bundles/SyliusPluginsBundle.rst @@ -0,0 +1,136 @@ +SyliusPluginsBundle +====================== + +Highly flexible Plugins engine. + +Installation +------------ + +Downloading the bundle +~~~~~~~~~~~~~~~~~~~~~~ + +The good practice is to download it to `vendor/bundles/Sylius/Bundle/PluginsBundle`. + +This can be done in several ways, depending on your preference. + +The first method is the standard Symfony2 method. + +Using the vendors script +************************ + +Add the following lines in your `deps` file. :: + + [SyliusPluginsBundle] + git=git://github.com/Sylius/SyliusPluginsBundle.git + target=bundles/Sylius/Bundle/PluginsBundle + +Now, run the vendors script to download the bundle. + +.. code-block:: bash + + $ php bin/vendors install + +Using submodules +**************** + +If you prefer instead to use git submodules, then run the following lines. + +.. code-block:: bash + + $ git submodule add git://github.com/Sylius/SyliusPluginsBundle.git vendor/bundles/Sylius/Bundle/PluginsBundle + $ git submodule update --init + +Autoloader configuration +~~~~~~~~~~~~~~~~~~~~~~~~ + +Add the `Sylius\\Bundle` namespace to your autoloader. + +.. code-block:: php + + registerNamespaces(array( + 'Sylius\\Bundle' => __DIR__.'/../vendor/bundles' + )); + +Adding bundle to kernel +~~~~~~~~~~~~~~~~~~~~~~~ + +Finally, enable the bundle in the kernel... + +.. code-block:: php + + `_ for CI. + +Before running tests, load the dependencies using `Composer `_. + + .. code-block:: bash + + $ wget http://getcomposer.org/composer.phar + $ php composer.phar install + +Now you can test by simply using this command. + + .. code-block:: bash + + $ phpunit + +Working examples +---------------- + +If you want to see this and other bundles in action, try out the `Sylius sandbox application `_. + +It's open sourced github project. + +Bug tracking +------------ + +This bundle uses `GitHub issues `_. +If you have found bug, please create an issue. diff --git a/bundles/SyliusSalesBundle.rst b/bundles/SyliusSalesBundle.rst new file mode 100644 index 0000000000..4429a22f9e --- /dev/null +++ b/bundles/SyliusSalesBundle.rst @@ -0,0 +1,159 @@ +SyliusSalesBundle +====================== + +Highly flexible Sales engine. + +Installation +------------ + +Installing dependencies +~~~~~~~~~~~~~~~~~~~~~~~ + +This bundle uses **Pagerfanta library** and **PagerfantaBundle**. + +The installation guide can be found `here `_. + +Downloading the bundle +~~~~~~~~~~~~~~~~~~~~~~ + +The good practice is to download it to `vendor/bundles/Sylius/Bundle/SalesBundle`. + +This can be done in several ways, depending on your preference. + +The first method is the standard Symfony2 method. + +Using the vendors script +************************ + +Add the following lines in your `deps` file. :: + + [SyliusSalesBundle] + git=git://github.com/Sylius/SyliusSalesBundle.git + target=bundles/Sylius/Bundle/SalesBundle + +Now, run the vendors script to download the bundle. + +.. code-block:: bash + + $ php bin/vendors install + +Using submodules +**************** + +If you prefer instead to use git submodules, then run the following lines. + +.. code-block:: bash + + $ git submodule add git://github.com/Sylius/SyliusSalesBundle.git vendor/bundles/Sylius/Bundle/SalesBundle + $ git submodule update --init + +Autoloader configuration +~~~~~~~~~~~~~~~~~~~~~~~~ + +Add the `Sylius\\Bundle` namespace to your autoloader. + +.. code-block:: php + + registerNamespaces(array( + 'Sylius\\Bundle' => __DIR__.'/../vendor/bundles' + )); + +Adding bundle to kernel +~~~~~~~~~~~~~~~~~~~~~~~ + +Finally, enable the bundle in the kernel... + +.. code-block:: php + + `_ for CI. + +Before running tests, load the dependencies using `Composer `_. + + .. code-block:: bash + + $ wget http://getcomposer.org/composer.phar + $ php composer.phar install + +Now you can test by simply using this command. + + .. code-block:: bash + + $ phpunit + +Working examples +---------------- + +If you want to see this and other bundles in action, try out the `Sylius sandbox application `_. + +It's open sourced github project. + +Dependencies +------------ + +This bundle uses the awesome `Pagerfanta library `_ and `Pagerfanta bundle `_. + +Bug tracking +------------ + +This bundle uses `GitHub issues `_. +If you have found bug, please create an issue. diff --git a/bundles/SyliusThemingBundle.rst b/bundles/SyliusThemingBundle.rst new file mode 100644 index 0000000000..497694a665 --- /dev/null +++ b/bundles/SyliusThemingBundle.rst @@ -0,0 +1,136 @@ +SyliusThemingBundle +====================== + +Highly flexible Theming engine. + +Installation +------------ + +Downloading the bundle +~~~~~~~~~~~~~~~~~~~~~~ + +The good practice is to download it to `vendor/bundles/Sylius/Bundle/ThemingBundle`. + +This can be done in several ways, depending on your preference. + +The first method is the standard Symfony2 method. + +Using the vendors script +************************ + +Add the following lines in your `deps` file. :: + + [SyliusThemingBundle] + git=git://github.com/Sylius/SyliusThemingBundle.git + target=bundles/Sylius/Bundle/ThemingBundle + +Now, run the vendors script to download the bundle. + +.. code-block:: bash + + $ php bin/vendors install + +Using submodules +**************** + +If you prefer instead to use git submodules, then run the following lines. + +.. code-block:: bash + + $ git submodule add git://github.com/Sylius/SyliusThemingBundle.git vendor/bundles/Sylius/Bundle/ThemingBundle + $ git submodule update --init + +Autoloader configuration +~~~~~~~~~~~~~~~~~~~~~~~~ + +Add the `Sylius\\Bundle` namespace to your autoloader. + +.. code-block:: php + + registerNamespaces(array( + 'Sylius\\Bundle' => __DIR__.'/../vendor/bundles' + )); + +Adding bundle to kernel +~~~~~~~~~~~~~~~~~~~~~~~ + +Finally, enable the bundle in the kernel... + +.. code-block:: php + + `_ for CI. + +Before running tests, load the dependencies using `Composer `_. + + .. code-block:: bash + + $ wget http://getcomposer.org/composer.phar + $ php composer.phar install + +Now you can test by simply using this command. + + .. code-block:: bash + + $ phpunit + +Working examples +---------------- + +If you want to see this and other bundles in action, try out the `Sylius sandbox application `_. + +It's open sourced github project. + +Bug tracking +------------ + +This bundle uses `GitHub issues `_. +If you have found bug, please create an issue. diff --git a/index.rst b/index.rst index 326d76f03b..f6807b55fe 100755 --- a/index.rst +++ b/index.rst @@ -10,6 +10,14 @@ Bundles reference :maxdepth: 2 :numbered: - bundles/SyliusAssortmentBundle bundles/SyliusCatalogBundle + bundles/SyliusAssortmentBundle + bundles/SyliusCartBundle + bundles/SyliusInstallerBundle + bundles/SyliusSalesBundle + bundles/SyliusThemingBundle + bundles/SyliusGuardBundle + bundles/SyliusNewsletterBundle + bundles/SyliusBloggerBundle + bundles/SyliusAddressingBundle