Rules for Config Management in Drupal 8 to avoid config quagmire, and developer consternation

Submitted by barnettech on Fri, 04/26/2019 - 11:02

Local development process:
Pull down latest code from the “development” branch into local with "git pull"
Run "drush updb" to update the database
Run “drush config-import” to import the database ("drush cim" is the shorthand command)
Make sure you select the 'sync' directory when asked
Make local changes
Run “drush config-export” (export to “sync” directory and remember that "drush cex" is the shorthand command)
Commit the config files in the “/config/sync” directory (ONLY COMMIT CHANGES YOU MAKE*)

The import failed due to the following reasons: These entities need to be deleted before importing.

Submitted by barnettech on Tue, 04/09/2019 - 10:04

The import failed due to the following reasons:
Entities exist of type Taxonomy term
and Vocabulary er">Complinet Titles. These entities need to be deleted befo
re importing.
Entities exist of type Taxonomy term
and Vocabulary er">Complinet Rules. These entities need to be deleted befor
e importing.