From 24ba35049b69bda87ae625c3dc7c8ec4df5e63dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edi=20Modri=C4=87?= Date: Mon, 1 Jul 2019 14:21:34 +0200 Subject: [PATCH] Add recipe for netgen/layouts-core --- .../1.0/config/routes/netgen_layouts.yaml | 3 +++ netgen/layouts-core/1.0/manifest.json | 10 ++++++++++ netgen/layouts-core/1.0/post-install.txt | 16 ++++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 netgen/layouts-core/1.0/config/routes/netgen_layouts.yaml create mode 100644 netgen/layouts-core/1.0/manifest.json create mode 100644 netgen/layouts-core/1.0/post-install.txt diff --git a/netgen/layouts-core/1.0/config/routes/netgen_layouts.yaml b/netgen/layouts-core/1.0/config/routes/netgen_layouts.yaml new file mode 100644 index 00000000..5074964d --- /dev/null +++ b/netgen/layouts-core/1.0/config/routes/netgen_layouts.yaml @@ -0,0 +1,3 @@ +netgen_layouts: + resource: "@NetgenLayoutsBundle/Resources/config/routing.yml" + prefix: "%netgen_layouts.route_prefix%" diff --git a/netgen/layouts-core/1.0/manifest.json b/netgen/layouts-core/1.0/manifest.json new file mode 100644 index 00000000..711c4f19 --- /dev/null +++ b/netgen/layouts-core/1.0/manifest.json @@ -0,0 +1,10 @@ +{ + "bundles": { + "Netgen\\Bundle\\LayoutsBundle\\NetgenLayoutsBundle": ["all"], + "Netgen\\Bundle\\LayoutsAdminBundle\\NetgenLayoutsAdminBundle": ["all"], + "Netgen\\Bundle\\LayoutsDebugBundle\\NetgenLayoutsDebugBundle": ["dev", "test"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/netgen/layouts-core/1.0/post-install.txt b/netgen/layouts-core/1.0/post-install.txt new file mode 100644 index 00000000..762bf301 --- /dev/null +++ b/netgen/layouts-core/1.0/post-install.txt @@ -0,0 +1,16 @@ + + Netgen Layouts configuration + + + * For Netgen Layouts to function, you need to import the database tables + into your database. Currently, only MySQL is supported. To import the tables, + use the following command from your project root: + + php bin/console doctrine:migrations:migrate --configuration=vendor/netgen/layouts-core/migrations/doctrine.yml + + * Enable ESI and fragments support in the config/packages/framework.yaml file. + + * Complete the installation procedure by following instructions detailed at + https://docs.netgen.io/projects/layouts/en/latest/getting_started/install_existing_project.html + +Documentation: https://docs.netgen.io/projects/layouts/en/latest/