Skip to content

Instantly share code, notes, and snippets.

@drnikki
Last active March 2, 2016 21:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drnikki/2cb1213bf3c64f63ac39 to your computer and use it in GitHub Desktop.
Save drnikki/2cb1213bf3c64f63ac39 to your computer and use it in GitHub Desktop.
Drupal 8 probo setup

Repo configuration

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

Local development

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment