You are here

drupal_setup.sh in Views Load More 7

#!/bin/bash
mysql -e 'create database drupal;'
pyrus channel-discover pear.drush.org
pyrus install drush/drush
phpenv rehash
wget http://ftp.drupal.org/files/projects/drupal-7.14.tar.gz
tar -xf drupal-7.14.tar.gz
cd drupal-7.14
drush site-install standard --db-url=mysql://root:@localhost/drupal --yes

File

test/ci/drupal_setup.sh
View source
  1. #!/bin/bash
  2. mysql -e 'create database drupal;'
  3. pyrus channel-discover pear.drush.org
  4. pyrus install drush/drush
  5. phpenv rehash
  6. wget http://ftp.drupal.org/files/projects/drupal-7.14.tar.gz
  7. tar -xf drupal-7.14.tar.gz
  8. cd drupal-7.14
  9. drush site-install standard --db-url=mysql://root:@localhost/drupal --yes