[DrupalCamp 2013] Introduction to Drush

1,323 views
1,305 views

Published on

[DrupalCamp 2013] Introduction to Drush

Published in: Technology

[DrupalCamp 2013] Introduction to Drush

  1. 1. Kuro Hsu @ DrupalCamp 2013
  2. 2. Before Drush :(
  3. 3. $"drush"dl"drupal""""""""""#" "drupal
  4. 4. "$"drush"site/install" """//db/url=mysql://account:password@localhost/dbName" """//account/name=admin """//account/pass=password
  5. 5. "$"pear"channel/discover"pear.drush.org "$"pear"install"drush/drush
  6. 6. "$"brew"install"drush""""""#" "$"brew"update"""""""""""""#" "$"brew"upgrade"drush
  7. 7. http://drush.ws/drush_windows_installer
  8. 8. "$"drush"version""""""#" "drush"
  9. 9. "$"drush"help"""""#"drush"
  10. 10. "$"drush"help"[+"COMMAND]" """#"drush"
  11. 11. "$"drush"status"""""#"
  12. 12. "$"drush"cc""""""#"cache/clear,"
  13. 13. "$"drush"cron""#" "cron "$"drush"updb"""#" "DB "update.php
  14. 14. "$"drush"wd/show"""""""#" "$"drush"wd/del"all""""#"
  15. 15. "$"drush"dl"[+"project]"""#"
  16. 16. "$"drush"dl"[+"project]"//select"//all """#"
  17. 17. "$"drush"pmi"[+"project]"""#"
  18. 18. "$"drush"en"[+"project]"""#" "/"
  19. 19. "$"drush"dis"[+"project]"""#" "/"
  20. 20. "$"drush"pm/uninstall"[+"project]" """#" "/"
  21. 21. "$"drush"pml""""#"
  22. 22. "$"drush"rl"[+"project]""""#"
  23. 23. "$"drush"up""""""""#" "&"
  24. 24. "$"drush"upc"""""""#"
  25. 25. "$"drush"vset"theme_default"[theme]" """#"
  26. 26. "$"drush"ucrt"[account]" """//mail=”mail”"//password=”password” """#" "email"&"
  27. 27. "$"drush"uinf"[account]""""#" "$"drush"upwd"[account]"//password=”xxxxxx” """#" "xxxxxx
  28. 28. "$"drush"ublk"[account]""""#" "$"drush"uublk"[account]""""#"
  29. 29. "$"drush"urol"“xxx”""[account] """#" "xxx" "$"drush"urrol"“xxx”"[account] """#" "xxx"
  30. 30. "$"drush"ucan"[account]""""""#"
  31. 31.  
  32. 32. ;"This"file"was"auto/generated"by"drush"make "core"="7.x "api"="2 "projects[drupal][version]"=""7.x" ;"Modules "projects[ctools][version]"=""1.3" "projects[views][version]"=""3.0/rc3" ;"Themes "projects[zen][version]"=""5.1"
  33. 33. "$"drush"make"makefile.make"drupal """#" "makefile.make" "drupal"
  34. 34. Why ?
  35. 35. "$"drush"generate/makefile"drupal.make """#" "drupal.make"
  36. 36. http://drushmake.me/
  37. 37. http://drush.ws/
  38. 38. kuro Hsu kurotanshi [at] gmail.com http://kuro.tw http://facebook.com/kurotanshi Thanks!

×