Scripts for provisioning a fresh LDbase instance
Once inside a running VM, change to the super user with sudo su
to execute any of provided commands, which live in the ldbase_deployment/commands/
directory and are automatically added to the root user's $PATH
by ldbase_deployment/assets/bash.sh
during the build process.
Executes the drupal config:import
command with the directory argument preset to the correct location (/var/www/html/drupal/web/libraries/ldbase_config/sync/).
Executes the drush config:export
command with the destination argument preset to the correct location (/var/www/html/drupal/web/libraries/ldbase_config/sync/).
Updates all packages and modules, reloads configurations, and overrides environment-specific configurations with environmental variables.
Empties the Drupal database (preserves the Drupal user and privileges) and deletes the Drupal file system, then rebuilds from scratch. Only use when you want to completely wipe the system and start fresh, all content will be lost.
Like ldb-rebuild
, but doesn't require a functional Drupal file system to work so can be used to build a fresh Drupal instance where one didn't exist before. Does so by running ldb-rebuild
twice, once to build the Drupal file system, and then again so that Drush can mount that Drupal file system and truncate the Drupal database for a guaranteed fresh start.