From c05ae4cd6d571705a175498fc67454a66d690af0 Mon Sep 17 00:00:00 2001 From: Luca Rath-Heel Date: Fri, 28 Aug 2020 12:26:23 +0200 Subject: [PATCH] Add flex recipe for SuluFormBundle --- sulu/form-bundle/2.0/config/packages/sulu_form.yaml | 9 +++++++++ .../form-bundle/2.0/config/routes/sulu_form_admin.yaml | 4 ++++ sulu/form-bundle/2.0/manifest.json | 8 ++++++++ sulu/form-bundle/2.0/post-install.txt | 10 ++++++++++ 4 files changed, 31 insertions(+) create mode 100644 sulu/form-bundle/2.0/config/packages/sulu_form.yaml create mode 100644 sulu/form-bundle/2.0/config/routes/sulu_form_admin.yaml create mode 100644 sulu/form-bundle/2.0/manifest.json create mode 100644 sulu/form-bundle/2.0/post-install.txt diff --git a/sulu/form-bundle/2.0/config/packages/sulu_form.yaml b/sulu/form-bundle/2.0/config/packages/sulu_form.yaml new file mode 100644 index 00000000..13a31bd7 --- /dev/null +++ b/sulu/form-bundle/2.0/config/packages/sulu_form.yaml @@ -0,0 +1,9 @@ +sulu_form: + mail: + from: "%sulu_admin.email%" + to: "%sulu_admin.email%" + sender: "%sulu_admin.email%" + +framework: + esi: true + fragments: true diff --git a/sulu/form-bundle/2.0/config/routes/sulu_form_admin.yaml b/sulu/form-bundle/2.0/config/routes/sulu_form_admin.yaml new file mode 100644 index 00000000..bac30391 --- /dev/null +++ b/sulu/form-bundle/2.0/config/routes/sulu_form_admin.yaml @@ -0,0 +1,4 @@ +sulu_form_api: + resource: "@SuluFormBundle/Resources/config/routing_api.yml" + type: rest + prefix: /admin/api diff --git a/sulu/form-bundle/2.0/manifest.json b/sulu/form-bundle/2.0/manifest.json new file mode 100644 index 00000000..ad6597fe --- /dev/null +++ b/sulu/form-bundle/2.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Sulu\\Bundle\\FormBundle\\SuluFormBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/sulu/form-bundle/2.0/post-install.txt b/sulu/form-bundle/2.0/post-install.txt new file mode 100644 index 00000000..1209702a --- /dev/null +++ b/sulu/form-bundle/2.0/post-install.txt @@ -0,0 +1,10 @@ + + What's next? + + + * The SuluFormBundle is almost ready: + 1. Print the sql statements required to update your database schema by running php bin/console doctrine:schema:update --dump-sql. + 2. If the statements look fine to you, run the same command using --force to execute them. + 3. Make sure your user has all the necessary permissions for the SuluFormBundle. + + * Read the documentation at https://github.com/sulu/SuluFormBundle/blob/master/Resources/doc/index.md