Add recipe for netgen/layouts-core

This commit is contained in:
Edi Modrić
2019-08-09 10:03:47 +02:00
parent fc6d3a5d8d
commit 24ba35049b
3 changed files with 29 additions and 0 deletions
@@ -0,0 +1,3 @@
netgen_layouts:
resource: "@NetgenLayoutsBundle/Resources/config/routing.yml"
prefix: "%netgen_layouts.route_prefix%"
+10
View File
@@ -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%/"
}
}
+16
View File
@@ -0,0 +1,16 @@
<bg=blue;fg=white> </>
<bg=blue;fg=white> Netgen Layouts configuration </>
<bg=blue;fg=white> </>
* 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:
<fg=green>php bin/console doctrine:migrations:migrate --configuration=vendor/netgen/layouts-core/migrations/doctrine.yml</>
* Enable ESI and fragments support in the <fg=green>config/packages/framework.yaml</> file.
* Complete the installation procedure by following instructions detailed at
<comment>https://docs.netgen.io/projects/layouts/en/latest/getting_started/install_existing_project.html</>
Documentation: <comment>https://docs.netgen.io/projects/layouts/en/latest/</>