Open jlyon opened 8 years ago
Yeah... I never finished this part!
We need some way to detect that the environment has never been enabled before! I am not sure how yet, would love help on this, and should probably just revert back to "enable" to not make people think they are safe to have this hook reinstall the site.
How about checking if drush status
throws errors?
https://github.com/terra-ops/terra-ui-prototype has
in the
enable_first
section of .terra.yml.Currently on my localhost, re-enabling an existing environment runs these commands and my Drupal db gets wiped. Perhaps a flag isn't getting set properly somewhere?