This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function ($, Drupal, window, document, undefined) { | |
$(document).ready(function() { | |
}); | |
})(jQuery, Drupal, this, this.document); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |