margauxdupuy / blueberry
Project template for Drupal 8 projects starting with Blueberry Distribution
Installs: 6
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:drupal-profile
Requires
- drupal/adminimal_admin_toolbar: ^1.9
- drupal/adminimal_theme: ^1.5
- drupal/ajax_comments: ^1.0@beta
- drupal/chosen: ^2.8
- drupal/comment_notify: ^1.2
- drupal/config_split: ^1.4
- drupal/ctools: ^3.2
- drupal/devel: ~1.0
- drupal/entity_browser: ^2.2
- drupal/entity_reference_revisions: ^1.6
- drupal/filefield_paths: ^1.0@beta
- drupal/honeypot: ^2.0
- drupal/link_attributes: ^1.9
- drupal/menu_block: ^1.5
- drupal/metatag: ~1.0
- drupal/paragraphs: ^1.10
- drupal/pathauto: ~1.0
- drupal/rabbit_hole: ^1.0@beta
- drupal/redirect: ~1.0
- drupal/simple_sitemap: ^3.7
- drupal/viewfield: ^3.0@beta
Conflicts
This package is auto-updated.
Last update: 2024-04-29 04:46:30 UTC
README
What is Blueberry Dristrib D8
The Blueberry Distrib D8 provides a pre-installed website for Drupal 8 with the basic modules and an administration theme configured.
Requirements
- Composer
Installation
Get the code source of the profile Blueberry, you can run the command below (replace PROJECT_CODE by the name of your project) :
composer create-project margauxdupuy/blueberry-project --stability=dev PROJECT_CODE
Command line is not yet ready for the package selection.
Finally, complete the installation of the profile, assuming you can access a database on localhost with root:root.
Don't forget to export the configuration with :
drush cex -y
Theme installation
Update
- To update Drupal Core and its dependencies, run :
composer update drupal/core webflo/drupal-core-require-dev "symfony/*" --with-dependencies
- To update the profile, run :
composer update druids/blueberry --with-dependencies
Enable developer mode / disable cache
Source : https://www.liip.ch/en/blog/lets-debug-drupal-8
Uncomment these lines in settings.php
:
if (file_exists($app_root . '/' . $site_path . '/settings.local.php')) { include $app_root . '/' . $site_path . '/settings.local.php'; }
Create the file settings.local.php
in web/sites/default (you can duplicate example.settings.local.php
).
Uncomment/update some values in settings.local.php` :
- uncomment this line to enable the “null cache service”:
$settings['container_yamls'][] = DRUPAL_ROOT . '/sites/development.services.yml';
- uncomment these lines to disable CSS/JS aggregation:
$config['system.performance']['css']['preprocess'] = FALSE; $config['system.performance']['js']['preprocess'] = FALSE;
- uncomment these lines to disable the render cache and the dynamic page cache:
$settings['cache']['bins']['render'] = 'cache.backend.null'; $settings['cache']['bins']['dynamic_page_cache'] = 'cache.backend.null';
- you can allow test modules and themes to be installed if needed with:
$settings['extension_discovery_scan_tests'] = TRUE;
Disable Twig caching in development.services.yml
and add the following settings :
parameters: twig.config: debug: true auto_reload: true cache: false