glexia / openideal-composer
Project template for OpenideaL Drupal 8 projects.
Requires
- composer/installers: ^1.2
- drupal/ajax_comments: 1.x-dev#4b0c423
- drupal/ckeditor_mentions: 2.x-dev#272a28e7
- drupal/core-composer-scaffold: ^8.8
- drupal/core-project-message: ^8.8
- drupal/core-recommended: ^8.8
- drupal/rules: 3.x-dev#7d1833f
- drush/drush: ^10
- linnovate/openideal: ^3.0
- wikimedia/composer-merge-plugin: ^1.4
Requires (Dev)
This package is auto-updated.
Last update: 2024-10-29 06:25:10 UTC
README
$ composer create-project linnovate/openideal-composer YOUR_PROJECT_NAME
Composer will create a new directory called YOUR_PROJECT_NAME, then you will need to install OpenideaL like you would any other Drupal site.
Development
Configuration management
To export some changes from database to sync directory please use the following command:
drupal config:export --remove-uuid --remove-config-hash --directory=profiles/contrib/idea/config/install
There are two ways to pull and apply the latest changes:
-
By performing a new installation (see "Quick start" section).
-
By pulling new changes from git repo and importing new changes from sync directory to the database:
drush cim --partial --source="profiles/contrib/idea/config/install"
-
In non-development mode please manage configuration via
drush cim
anddrush cex
commands.
Troubleshooting
- Make sure the composer has been installed on your local machine, otherwise you need to install the composer before site installation
- Please make sure you don't have the following files in the config directory before importing configs via Drush:
- core.extension.yml
- system.site.yml