Skip to content

Instantly share code, notes, and snippets.

@ahelja
Created September 9, 2016 13:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahelja/ffecbc87211865347f384c90ac8db7c7 to your computer and use it in GitHub Desktop.
Save ahelja/ffecbc87211865347f384c90ac8db7c7 to your computer and use it in GitHub Desktop.
Installing Drupal with drush
› 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