mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
Add recipe for netgen/layouts-core
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
netgen_layouts:
|
||||
resource: "@NetgenLayoutsBundle/Resources/config/routing.yml"
|
||||
prefix: "%netgen_layouts.route_prefix%"
|
||||
@@ -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%/"
|
||||
}
|
||||
}
|
||||
@@ -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/</>
|
||||
Reference in New Issue
Block a user