Guest User

Untitled

a guest
Feb 19th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. # Drupal Drush Common Commands
  2.  
  3. ## Drupal 7
  4.  
  5. ```
  6. drush dl drupal-7.x
  7. drush si standard --account-name=admin --account-pass=admin --db-url=mysql://MySQLUser:Password@localhost/YourMySQLDatabase
  8. ```
  9. ### Essential:
  10. ```
  11. ctools libraries token pathauto transliteration devel search_krumo admin_menu context module_filter multiblock backup_migrate redirect menu_attributes menu_block entity entityreference views views_php image_url_formatter semanticviews fences media
  12. ```
  13.  
  14. ### Optional:
  15. ```
  16. field_group field_collection logintoboggan date rules realname email_registration jquery_update image_url_formatter wysiwyg ckeditor_styles imce imce_wysiwyg
  17. ```
  18.  
  19.  
  20. ## Drupal 8
  21.  
  22. ```
  23. drush cache rebuild
  24. drush cr
  25. ```
  26.  
  27. ### modules:
  28. ```
  29. ctools token pathauto context module_filter redirect menu_block views_php image_url_formatter semanticviews entity_browser field_collection paragraphs entity_reference_revisions linkit admin_toolbar backup_migrate rules search_api
  30. ```
  31.  
  32. ### notes:
  33. in theme's libraries.yml file, should add these dependencies.
  34. ```
  35. dependencies:
  36. - core/jquery
  37. - core/drupal
  38. ```
Add Comment
Please, Sign In to add comment