btmash

Drush Install for creating dumps of standard profiles.

Nov 29th, 2011
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.50 KB | None | 0 0
  1. rm -rf drupal-dumps/drupal
  2. drush dl drupal-7.x --destination=drupal-dumps --drupal-project-rename=drupal
  3. cd drupal-dumps/drupal
  4. drush site-install -y standard --account-name=admin --account-pass=drupal --db-url=sqlite:./.ht.drupal.sqlite
  5. # install all modules
  6. drush pm-list --status="not installed" | sed 's/.*(\(.*\)).*/\1/p' | xargs drush en -y
  7. php scripts/dump-database-d7.sh > ../d7.standard.bare.php
  8. php scripts/generate-d7-content.sh
  9. php scripts/dump-database-d7.sh > ../d7.standard.filled.php
Add Comment
Please, Sign In to add comment