Installation Profile with Content
Posted on drupalRecently, I encountered a project that requires rebuilding a site over and over in order to test recent changes. There were a bunch of scripts that did this automatically. The scripts were bash and PHP scripts. The bash scripts consist of calling drush commands such as drush en, drush si and drush scr. The PHP scripts task were to import content, terms, and probably set some configurations. These PHP scripts are also the ones ran through drush scr. I didn't go through each line of the scripts but I think what they basically do is enable modules, import contents from a data source, copy some...