Skip to content

Instantly share code, notes, and snippets.

drupal-x.xx ist die Drupal Version in diesem Fall drupal-7.14
------------------------------------------------------------------
wget http://ftp.drupal.org/files/projects/drupal-x.x.tar.gz
tar -xzvf drupal-x.x.tar.gz
mv drupal-x.x/* drupal-x.x/.htaccess ./
rm -rf drupal-x.xx
(function ($, Drupal, window, document, undefined) {
$(document).ready(function() {
});
})(jQuery, Drupal, this, this.document);
Vagrant::Config.run do |config|
# box
config.vm.box = "precise32"
config.vm.box_url = "http://files.vagrantup.com/precise32.box"
# ports
config.vm.forward_port 80, 8080
# puppet
config.vm.share_folder "puppet-files", "/etc/puppet/files", "puppet/files"
drush dl drupal //Download drupal
drush site-install --db-url=mysql://user:password@localhost/drupal //install downloaded drupal folder
drush dl simplenews admin_menu //Download modules SimpleNews and Admin_Menu
drush en admin_menu, simplenews, admin_menu_toolbar // Enables the three different modules
drush dis toolbar //Disable default drupal toolbar