<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="http://joetsuihk.com/en/taxonomy/term/189/all" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>drush</title>
    <link>http://joetsuihk.com/en/taxonomy/term/189/all</link>
    <description></description>
    <language>en</language>
     <atom:link href="http://joetsuihk.com/en/taxonomy/term/189/all/feed" rel="self" type="application/rss+xml" />
      <item>
    <title>My little thoughts on features version update options</title>
    <link>http://joetsuihk.com/en/my_little_thoughts_features_version_update_options</link>
    <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;New Drush options:&lt;br /&gt;
incr version: --version-increment&lt;br /&gt;
set version directly: --version-set=7.x-1.0-dev&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://drupal.org/node/1272586#comment-5646288&quot;&gt;http://drupal.org/node/1272586#comment-5646288&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-taxonomy-vocabulary-2 field-type-taxonomy-term-reference field-label-above&quot;&gt;&lt;div class=&quot;field-label&quot;&gt;Free tags:&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/free_tags/featuresmodule&quot;&gt;features module&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/en/free_tags/contributions&quot;&gt;contributions&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/free_tags/drush&quot;&gt;drush&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/en/free_tags/version&quot;&gt;version&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
     <pubDate>Fri, 24 Feb 2012 09:39:55 +0000</pubDate>
 <dc:creator>JOE</dc:creator>
 <guid isPermaLink="false">280 at http://joetsuihk.com</guid>
  </item>
  <item>
    <title>Drush 5.x-dev 支持視窗系統 support Windows system!</title>
    <link>http://joetsuihk.com/en/drush_5xdev_%E6%94%AF%E6%8C%81%E8%A6%96%E7%AA%97%E7%B3%BB%E7%B5%B1_support_windows_system</link>
    <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;&lt;a href=&quot;http://drupal.org/project/drush&quot;&gt;http://drupal.org/project/drush&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;下載點: &lt;a href=&quot;http://drush.ws/resources&quot;&gt;http://drush.ws/resources&lt;/a&gt;&lt;br /&gt;
下載完成直接雙擊安裝&lt;br /&gt;
安裝完成便可以雙擊桌面圖示, cd 到你的 Drupal root, 開始使用 Drush&lt;/p&gt;
&lt;p&gt;還有, Drupal 已經轉用 git 作為版本椌制系統&lt;br /&gt;
Windows 下你可以使用 msysgit &lt;a href=&quot;http://code.google.com/p/msysgit/&quot;&gt;http://code.google.com/p/msysgit/&lt;/a&gt;&lt;br /&gt;
它帶有一個 msysgit shell, 可以使用 linux 命令, Drush 命令&lt;/p&gt;
&lt;p&gt;再加上 &lt;a href=&quot;http://www.vim.org/download.php&quot;&gt;gvim&lt;/a&gt; 和 &lt;a href=&quot;http://www.vim.org/scripts/script.php?script_id=2540&quot;&gt;snipMate&lt;/a&gt;, 成就了我終極的, 跨系統的開發工具組&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-taxonomy-vocabulary-2 field-type-taxonomy-term-reference field-label-above&quot;&gt;&lt;div class=&quot;field-label&quot;&gt;Free tags:&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/free_tags/drupal&quot;&gt;Drupal&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/en/taxonomy/term/42&quot;&gt;windows&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/free_tags/drush&quot;&gt;drush&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-field-add-this field-type-addthis field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a class=&quot;addthis_button &quot; addthis:title=&quot;Drush 5.x-dev 支持視窗系統 support Windows system! - JOE Tsui&amp;#039;s Drupal life in Hong Kong (香港)&quot; addthis:url=&quot;http://joetsuihk.com/en/drush_5xdev_%E6%94%AF%E6%8C%81%E8%A6%96%E7%AA%97%E7%B3%BB%E7%B5%B1_support_windows_system&quot;&gt;&lt;img src=&quot;http://s7.addthis.com/static/btn/sm-share-en.gif&quot; alt=&quot;Share page with AddThis&quot; /&gt;
&lt;/a&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
     <pubDate>Tue, 25 Oct 2011 11:57:04 +0000</pubDate>
 <dc:creator>JOE</dc:creator>
 <guid isPermaLink="false">237 at http://joetsuihk.com</guid>
  </item>
  <item>
    <title>什麼是 Drush</title>
    <link>http://joetsuihk.com/en/%E4%BB%80%E9%BA%BC%E6%98%AF_drush</link>
    <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;Drush 是一個面向開發者的工具/模組&lt;br /&gt;
它是一個使用命令行的工具, 可以說是 Drupal 的遇萬用工具刀&lt;/p&gt;
&lt;p&gt;先談一下命令行&lt;br /&gt;&lt;code&gt;$ drush dl views&lt;/code&gt;&lt;br /&gt;
以上的代碼, $ 是命令行的開始&lt;code&gt;drush dl views&lt;/code&gt; 是開發者輸入的部份&lt;br /&gt;
*nix 或者 Mac 可以使用原生命令行&lt;br /&gt;
Windows 內: &quot;開始&quot; -&amp;gt; &quot;執行&quot; -&amp;gt; 輸入 &quot;cmd&quot; 便會打開命令行&lt;/p&gt;
&lt;p&gt;入正題, 例子 &lt;code&gt;$ drush dl views&lt;/code&gt;&lt;br /&gt;
一句命令便可以將 views 模組從 drupal.org 下載, 解壓到 sites/all/modules&lt;br /&gt;&lt;code&gt;$ drush dl zen&lt;/code&gt; 下載, 解壓到 sites/all/themes&lt;br /&gt;&lt;code&gt;$ drush en views&lt;/code&gt; 便可以啟用 views&lt;br /&gt;&lt;code&gt;$ drush cc&lt;/code&gt; 清除緩存&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-taxonomy-vocabulary-2 field-type-taxonomy-term-reference field-label-above&quot;&gt;&lt;div class=&quot;field-label&quot;&gt;Free tags:&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/free_tags/drupal&quot;&gt;Drupal&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/en/taxonomy/term/40&quot;&gt;linux&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/taxonomy/term/42&quot;&gt;windows&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/en/free_tags/git&quot;&gt;git&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/free_tags/drush&quot;&gt;drush&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/en/free_tags/vim&quot;&gt;vim&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
     <pubDate>Tue, 18 Oct 2011 11:42:40 +0000</pubDate>
 <dc:creator>JOE</dc:creator>
 <guid isPermaLink="false">255 at http://joetsuihk.com</guid>
  </item>
  <item>
    <title>Drush Alias - 進階 Drush 技巧</title>
    <link>http://joetsuihk.com/en/drush_alias_%E9%80%B2%E9%9A%8E_drush_%E6%8A%80%E5%B7%A7</link>
    <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;當一部機器有很多 Drupal  installation 的時候,&lt;br /&gt;
你便會經常:&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;cd /var/www/site1&lt;br /&gt;drush en -y views&lt;br /&gt;&lt;br /&gt;cd /var/www/site2&lt;br /&gt;drush en -y views&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
再加上測試環境:&lt;br /&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;cd /var/www/site1_uat&lt;br /&gt;drush en -y views&lt;br /&gt;&lt;br /&gt;cd /var/www/site2_uat&lt;br /&gt;drush en -y views&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
就變得很難維護
&lt;p&gt;使用了 drush alias 之後, 你可以:&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-taxonomy-vocabulary-2 field-type-taxonomy-term-reference field-label-above&quot;&gt;&lt;div class=&quot;field-label&quot;&gt;Free tags:&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/free_tags/development&quot;&gt;Development&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/en/free_tags/drush&quot;&gt;drush&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/free_tags/alias&quot;&gt;alias&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-field-add-this field-type-addthis field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a class=&quot;addthis_button &quot; addthis:title=&quot;Drush Alias - 進階 Drush 技巧 - JOE Tsui&amp;#039;s Drupal life in Hong Kong (香港)&quot; addthis:url=&quot;http://joetsuihk.com/en/drush_alias_%E9%80%B2%E9%9A%8E_drush_%E6%8A%80%E5%B7%A7&quot;&gt;&lt;img src=&quot;http://s7.addthis.com/static/btn/sm-share-en.gif&quot; alt=&quot;Share page with AddThis&quot; /&gt;
&lt;/a&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
     <pubDate>Tue, 27 Sep 2011 04:15:25 +0000</pubDate>
 <dc:creator>JOE</dc:creator>
 <guid isPermaLink="false">248 at http://joetsuihk.com</guid>
  </item>
  </channel>
</rss>
