Skip to content

Instantly share code, notes, and snippets.

@klan
Created October 22, 2013 09:20
Show Gist options
  • Save klan/7097592 to your computer and use it in GitHub Desktop.
Save klan/7097592 to your computer and use it in GitHub Desktop.
Step-by-step Drupal install with drush. Includes installation of: Omega theme (and sub-theme), Adminimal theme, Adminimal admin menu, Module Filter, Views, Context, ctools, Devel, Diff, Features, Entity API, Entity Reference, jQuery Update, Pathauto and Token.
› drush dl drupal --drupal-project-rename="projectname"
• Install site
› cd projectname/sites/all/modules/
› mkdir contrib custom
› drush dl adminimal_theme adminimal_admin_menu module_filter
› drush en -y adminimal_admin_menu module_filter
› drush variable-set admin_theme adminimal
› drush variable-set admin_menu_margin_top 0
› drush variable-set adminimal_admin_menu_render "hidden"
› drush dis -y comment contextual dashboard overlay
› drush dl omega
› drush en -y omega
› drush cc all
› drush omega-wizard
• Choose name, base theme, starterkit and destination
• Export (to .info) and revert theme settings
› omega-export --revert
› drush pm-disable -y bartik seven
› drush dl ctools views context devel diff features entity entityreference jquery_update panels pathauto strongarm token
› drush en -y ctools views_content page_manager views views_ui context context_ui devel devel_node_access diff features entity entity_token entityreference jquery_update panels pathauto strongarm token
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment