<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>stephenyeong&#039;s blog &#187; redmine</title>
	<atom:link href="http://www.stephenyeong.idv.hk/wp/tag/redmine/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stephenyeong.idv.hk/wp</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 16 Aug 2010 08:44:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>redmine installation</title>
		<link>http://www.stephenyeong.idv.hk/wp/2010/01/redmine-installion/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2010/01/redmine-installion/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 11:16:16 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[軟件]]></category>
		<category><![CDATA[project management]]></category>
		<category><![CDATA[redmine]]></category>
		<category><![CDATA[ruby on rail]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=402</guid>
		<description><![CDATA[My redmine setup log on Server 2008 SP2 x64 Web Edition, IIS7, native FastCGI and Microsoft URL Rewrite    
Base on 2 best article I found by googling    

IIS 7.0 Server-Side 10 steps to get Ruby on Rails running on Windows with IIS FastCGI
http://mvolo.com/blogs/serverside/archive/2007/02/18/10-steps-to-get-Ruby-on-Rails-running-on-Windows-with-IIS-FastCGI.aspx
Ruby on Rails in IIS 7.0 with URL Rewriter  RuslanY Blog
http://ruslany.net/2008/08/ruby-on-rails-in-iis-70-with-url-rewriter/

with something I found may be [...]]]></description>
			<content:encoded><![CDATA[<p>My redmine setup log on Server 2008 SP2 x64 Web Edition, IIS7, native FastCGI and Microsoft URL Rewrite    </p>
<p>Base on 2 best article I found by googling    </p>
<ul>
<li>IIS 7.0 Server-Side 10 steps to get Ruby on Rails running on Windows with IIS FastCGI<br />
<a href="http://mvolo.com/blogs/serverside/archive/2007/02/18/10-steps-to-get-Ruby-on-Rails-running-on-Windows-with-IIS-FastCGI.aspx">http://mvolo.com/blogs/serverside/archive/2007/02/18/10-steps-to-get-Ruby-on-Rails-running-on-Windows-with-IIS-FastCGI.aspx</a></li>
<li>Ruby on Rails in IIS 7.0 with URL Rewriter  RuslanY Blog<br />
<a href="http://ruslany.net/2008/08/ruby-on-rails-in-iis-70-with-url-rewriter/">http://ruslany.net/2008/08/ruby-on-rails-in-iis-70-with-url-rewriter/</a></li>
</ul>
<p>with something I found may be useful.    </p>
<p>First of all -  prepare files    </p>
<ul>
<li>ruby One-Click Installer (1.8.6-27)<br />
ruby186-27_rc2.exe<br />
<a href="http://rubyforge.org/frs/?group_id=167&amp;release_id=41267">http://rubyforge.org/frs/?group_id=167&amp;release_id=41267</a></li>
<li>Microsoft URL Rewrite Module 1.1 for IIS 7 (x64)<br />
rewrite_1.1_amd64_en-US.msi<br />
<a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=d05111c1-b4f7-45f3-8f60-a8f2b9d49ed1">http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=d05111c1-b4f7-45f3-8f60-a8f2b9d49ed1</a></li>
<li>Redmine 0.8.7 ( 2009-11-15)<br />
redmine-0.8.7.zip<br />
<a href="http://rubyforge.org/frs/?group_id=1850">http://rubyforge.org/frs/?group_id=1850</a></li>
<li>RubyForIIS<br />
RubyForIIS-0.1.exe<br />
<a href="http://avhelp.ucc.usyd.edu.au/james/RubyForIIS-0.1.exe">http://avhelp.ucc.usyd.edu.au/james/RubyForIIS-0.1.exe</a></li>
</ul>
<p> Then &#8211; Install files    </p>
<p><strong>Step 1:</strong> Install Ruby 1.8.6.<br />
According to Redmine Installation Guide ( <a href="http://www.redmine.org/wiki/redmine/RedmineInstall">http://www.redmine.org/wiki/redmine/RedmineInstall</a> ), Support Ruby version is 1.8.6. &amp; 1.8.7. </p>
<p><strong>Step 2:</strong> Install rails</p>
<pre class="brush:shell">gem install rails</pre>
<p><strong>Step 3:</strong> Install RubyForIIS<br />
Because the fcgi extension not bundle in rails.<br />
Afterward, test fcgi    </p>
<pre class="brush:ruby">c:\ruby\bin\&gt;irb
irb(main):001:0&gt; require 'fcgi'  
=&gt; true   
irb(main):002:0&gt; quit</pre>
<p><strong>Step 4: </strong>Extract Redmine files to target folder    </p>
<p>e.g.  C:\inetpub\redmine    </p>
<p>below I will call it  <span style="color: #ff0000;">[Redmine Path]</span>    </p>
<p><strong>Step 5:</strong> Create folder and Set folder permission (Step 7 on Redmine Installation Guide)<br />
make a folder called \tmp and \public\plugin_assets under<span style="color: #ff0000;"> [Redmine Path]</span></p>
<pre class="brush:shell">cd [Redmine Path]
md tmp
md public\plugin_assets</pre>
<p>and assign tmp, files, log,  public\plugin_assets IWAM account ( or Network Service  account) has full control    </p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/assign1.png" title="assign1" rel="lightbox[402]"><img class="alignnone size-full wp-image-411" title="assign1" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/assign1.png" alt="" width="500" height="301" /></a>    </p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/assign2.png" title="assign2" rel="lightbox[402]"><img class="alignnone size-full wp-image-412" title="assign2" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/assign2.png" alt="" width="180" height="210" /></a>    </p>
<p><strong>Step 6:</strong> Create Database<br />
Just create database, user account and password (Step 3 on Redmine Installation Guide).<br />
make sure the default  database character is 『utf-8&#8243; because the create database script did not assign.    </p>
<p><strong>Step 7: </strong>Config files<br />
copy <span style="color: #ff0000;">[Redmine Path]</span>\config\database.y ml.example to <span style="color: #ff0000;">[Redmine Path]</span>\config\database. yml and edit the 『production』 database connection settings    </p>
<p><strong>Step 8:</strong> run database create script on redmine root folder    </p>
<p>rake db:migrate RAILS_ENV=』production』    and create session store    </p>
<pre class="brush:shell">cd [Redmine Path]
rake config/initializers/session_store.rb</pre>
<p><strong>Step 9:</strong> test site by using build-in webrick (step 8 on Redmine Installation Guide).    </p>
<pre class="brush:shell">ruby script/server webrick -e production</pre>
<p><strong>Step 10:</strong>IIS config</p>
<ol>
<li><code>Create a web site and set physical path to redmine public folder</code></li>
<li><code>Copy/rename <span style="color: #ff0000;">[Redmine Path]</span>\public\dispatch.fcgi.example to <span style="color: #ff0000;">[Redmine Path]</span>\public\dispatch.fcgi</code></li>
<li><code>Modify <span style="color: #ff0000;">[Redmine Path]</span>\config\environment.rb, uncomment line "# ENV['RAILS_ENV'] ||= 'production'" to assign the environment to production</code></li>
<li><code>Copy/rename <span style="color: #ff0000;">[Redmine Path]</span>\config\email.yml.example to <span style="color: #ff0000;">[Redmine Path]</span>\config\email.yml and setup <strong>Outgoing email settings</strong></code></li>
<li><code><strong>Module Setting</strong></code></li>
<li><code><strong>URL Mapping<br />
Request path: dispatch.fcgi<br />
Module: FastCgiModule<br />
Executable (optional):<br />
c:\Ruby\bin\Ruby.exe|<span style="color: #ff0000;">[Redmine Path]</span>\public\dispatch.fcgi production</strong></code></li>
</ol>
<p><code><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/Add-Module.png" title="Add Module" rel="lightbox[402]"><img class="alignnone size-full wp-image-417" title="Add Module" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/Add-Module.png" alt="" width="396" height="345" /></a></code></p>
<p><strong>Step 11:</strong>URL Rewrite</p>
<p>paste following url rewrite config into web.config under &lt;system.webServer&gt; branch</p>
<pre class="brush:xml">&lt;rewrite&gt;
 &lt;rules&gt;
 &lt;clear /&gt;
 &lt;rule name="Imported Rule 1-1" stopProcessing="true"&gt;
  &lt;match url="^(.*)(\.png)(\.)$" ignoreCase="true" /&gt;
  &lt;conditions logicalGrouping="MatchAll" /&gt;
  &lt;action type="Rewrite" url="{R:1}.png" appendQueryString="false" /&gt;
 &lt;/rule&gt;
 &lt;rule name="Imported Rule 1"&gt;
  &lt;match url="^$" ignoreCase="false" /&gt;
  &lt;action type="Rewrite" url="index.html" appendQueryString="true" /&gt;
 &lt;/rule&gt;
 &lt;rule name="Imported Rule 2"&gt;
  &lt;match url="^([^.]+)$" ignoreCase="false" /&gt;
  &lt;action type="Rewrite" url="{R:1}.html" appendQueryString="true" /&gt;
 &lt;/rule&gt;
 &lt;rule name="Imported Rule 3" stopProcessing="true"&gt;
  &lt;match url="^(.*)$" ignoreCase="false" /&gt;
  &lt;conditions logicalGrouping="MatchAll"&gt;
  &lt;add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" pattern="" ignoreCase="false" /&gt;
  &lt;/conditions&gt;
  &lt;action type="Rewrite" url="dispatch.fcgi" appendQueryString="true" /&gt;
 &lt;/rule&gt;
 &lt;/rules&gt;
&lt;/rewrite&gt;</pre>
<p><strong>Step 12:</strong>Minor configuration</p>
<p><span style="color: #ff0000;">[Redmine Path]</span>\config\environment.rb</p>
<p>uncomment following line to force rails environment to production</p>
<pre class="brush:ruby">ENV['RAILS_ENV'] ||= 'production'</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2010/01/redmine-installion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>好用的專案管理 &#8211; redmine</title>
		<link>http://www.stephenyeong.idv.hk/wp/2010/01/redmine/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2010/01/redmine/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 02:34:08 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[軟件]]></category>
		<category><![CDATA[project management]]></category>
		<category><![CDATA[redmine]]></category>
		<category><![CDATA[ruby on rail]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=391</guid>
		<description><![CDATA[由於有新project 並且要有效管理現有的project, 一套管現軟件是必需的.
見到pfsense個redmine幾好, 再到wiki上對比過幾套的功能後, 最後選了redmine.
http://www.redmine.org/

第一次接觸 Ruby、Ruby on Rail, 同時又要在Server 2008 的IIS7 上用FastCGI運行, 再加上外面的FAQ唔多齊全. 結果玩足一日才能夠安裝完成.
]]></description>
			<content:encoded><![CDATA[<p>由於有新project 並且要有效管理現有的project, 一套管現軟件是必需的.<br />
見到pfsense個redmine幾好, 再到wiki上對比過幾套的功能後, 最後選了redmine.</p>
<p><a href="http://www.redmine.org/">http://www.redmine.org/</a><br />
<a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/redmine.png"></a><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/redmine.png" title="redmine" rel="lightbox[391]"><img class="alignnone size-medium wp-image-395" title="redmine" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/01/redmine-300x244.png" alt="" width="300" height="244" /></a></p>
<p>第一次接觸 Ruby、Ruby on Rail, 同時又要在Server 2008 的IIS7 上用FastCGI運行, 再加上外面的FAQ唔多齊全. 結果玩足一日才能夠安裝完成.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2010/01/redmine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
