mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
16 lines
1.5 KiB
Plaintext
16 lines
1.5 KiB
Plaintext
* The <fg=blue>InitCmsBundle</> imports many configuration files, such as doctrine.yaml, security.yaml etc. In order
|
|
to ensure your app will work please do the following:
|
|
1. Check that all files imported via the networking_init_cms.yaml file are not overwritten with a similar
|
|
configuration file in your /config/packages folder. !IMPORTANT the doctrine.yaml and security.yaml must be either
|
|
deleted, or update/extended with the configuration as proposed in the doctrine.yaml and security.yaml files
|
|
included with the CMS.
|
|
2. Check that the Page and User entities were copied to the correct entity folder, and are configured correctly.
|
|
3. Configure your languages in the networking_init_cms.yaml file, for multi-language support.
|
|
4. Configure the lexik translation bundles fallback_local and managed_locales parameters to support DB based translations.
|
|
5. Clear the cache again so that the new config files are loaded correctly.
|
|
6. Check your database configuration, and back up your database if you haven't done so already.
|
|
7. Update your database <fg=blue>bin/console doctrine:schema:update</> or using the doctrine migrate commands
|
|
8. Use the command networking:initcms:install to install the DB install fixtures and create a superuser admin.
|
|
ALTERNATIVELY you can use the networking:initcms:data-setup if you just want to install the data structure and fixtures
|
|
9. Enable or disable full page caching by setting networking_init_cms.cache.activate to true/false
|