The repo contains drupal core, some vagrant configuration for local development, a db starting place, and some scripts. The repo root looks like:
- drupal
-- sites/default/settings.php
- db
- scripts
- vagrant
Locally, we develop on a version of geerlingguy's drupalvm and run a reset script on the vm (living in scripts/
) to reset the database and manage config before beginning a new branch or testing work on another's branch. That script does the following:
- truncates database
- imports initial db
- drush config-import
- misc drush generate commmands to seed db