Skip to content

Install Shopping List

Install framework

Run the following command to install the package:

1
composer require ibexa/shopping-list

TODO: Describe what install does

Check that the following line have been added by the recipe to config/bundles.php file's array:

1
    Ibexa\Bundle\ShoppingList\IbexaShoppingListBundle::class => ['all' => true],

Modify database schema

Add the tables needed by the bundle:

1
php bin/console ibexa:doctrine:schema:dump-sql vendor/ibexa/shopping-list/src/bundle/Resources/config/schema.yaml | mysql -u <username> -p <password> <database_name>
1
php bin/console ibexa:doctrine:schema:dump-sql --force-platform=postgres vendor/ibexa/shopping-list/src/bundle/Resources/config/schema.yaml | psql <database_name>

TODO: possible charset issue, see https://github.com/ibexa/doctrine-schema/pull/38

TODO: Default shopping list creation for existing customers?

Configure

TODO

TODO: ibexa.site_access.config.default.shopping_list.pagination.list_per_page_limit

TODO: Probably a file that will be created by recipe:

1
2
3
4
5
6
7
8
# config/routes/ibexa_shopping_list.yaml

ibexa.shopping_list:
    resource: '@IbexaShoppingListBundle/Resources/config/routing.yaml'

ibexa.rest.shopping_list:
    resource: '@IbexaShoppingListBundle/Resources/config/routing_rest.yaml'
    prefix: '%ibexa.rest.path_prefix%'