istolar / openideal_project
Project template for OpenideaL Drupal 8 projects.
Installs: 302
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 1
Open Issues: 2
Language:Shell
Type:project
Requires
- composer/installers: ^1.2
- drupal/console: 1.9.3
- drupal/core-composer-scaffold: ^8.8
- drupal/core-project-message: ^8.8
- drupal/core-recommended: ^8.8
- drush/drush: ^10
- istolar/openideal_distribution: dev-develop
- wikimedia/composer-merge-plugin: ^1.4
Requires (Dev)
This package is auto-updated.
Last update: 2020-10-22 07:54:25 UTC
README
composer create-project istolar/openideal_project YOUR_PROJECT_NAME
cd dir_name
docker-compose up
make
Notes:
- Before executing 4th step, you can edit installation properties in .env file.
- Instead of 4th step, you can go to your browser and perform installation via UI.
- We're assuming you're using docker4drupal.
Configuration management
To export some changes from database to sync directory please use the following command:
docker-compose exec php ../vendor/bin/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:
docker-compose exec php ../vendor/bin/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
- In this instruction, we're assuming you're using docker4drupal and your code files were mounted like this:
volumes: - ./:/var/www/html
- 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