From bbbcc40711bfcd2d561c1a56a2f4d27a14dfd483 Mon Sep 17 00:00:00 2001 From: Micha Hobert Date: Mon, 23 Oct 2023 14:56:51 +0200 Subject: [PATCH] Add warning for recipe --- .../apps/starter/product-translator.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/guides/plugins/apps/starter/product-translator.md b/guides/plugins/apps/starter/product-translator.md index e7f820b3e3..b02e799989 100644 --- a/guides/plugins/apps/starter/product-translator.md +++ b/guides/plugins/apps/starter/product-translator.md @@ -33,6 +33,25 @@ Now we need to install the Shopware App Bundle with Composer: composer require shopware/app-bundle ``` +::: warning +Make sure that you agree to second interaction of the bundle recipe. It will add your routing, register the bundle, and more. If you do not agree to it, you will have to +create those manually (check files [here](https://github.com/symfony/recipes-contrib/tree/main/shopware/app-bundle/1.0)) +::: + +```shell +- WARNING shopware/app-bundle (>=1.0): From github.com/symfony/recipes-contrib:main + The recipe for this package comes from the "contrib" repository, which is open to community contributions. + Review the recipe at https://github.com/symfony/recipes-contrib/tree/main/shopware/app-bundle/1.0 + + Do you want to execute this recipe? + [y] Yes + [n] No + [a] Yes for all packages, only for the current installation session + [p] Yes permanently, never ask again for this project + (defaults to n): n +``` + + Modify the `SHOPWARE_APP_NAME` and `SHOPWARE_APP_SECRET` in the env to your app name`./.env` to ensure you can install the app in a store later. Also, configure the `DATABASE_URL` to point to your database: