<?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>Ali Qureshi&#039;s Blog &#187; Redmine</title>
	<atom:link href="http://www.parorrey.com/blog/tag/redmine/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.parorrey.com/blog</link>
	<description>random bits on web development</description>
	<lastBuildDate>Tue, 07 Sep 2010 10:17:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<atom:link rel='hub' href='http://www.parorrey.com/blog/?pushpress=hub'/>
		<item>
		<title>Ten Step Guide to Install Redmine project management application</title>
		<link>http://www.parorrey.com/blog/project-management/ten-step-guide-to-install-redmine-project-management-application/</link>
		<comments>http://www.parorrey.com/blog/project-management/ten-step-guide-to-install-redmine-project-management-application/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 06:02:14 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Project Management]]></category>
		<category><![CDATA[Redmine]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[RubyGems]]></category>

		<guid isPermaLink="false">http://www.parorrey.com/blog/?p=87</guid>
		<description><![CDATA[Having tried several open source project management and bug tracking tools, such as dotProject, mantis  etc, Ruby based Redmine is a good solution. Redmine is a flexible project management web application written using Ruby on Rails framework. It should run on most Unix, Linux, Mac and Windows systems as long as Ruby &#38; Ruby on [...]


Related posts:<ol><li><a href='http://www.parorrey.com/blog/php-development/how-to-fix-broken-facebook-sample-application-footprints/' rel='bookmark' title='Permanent Link: How to fix broken Facebook sample application &#8216;footprints&#8217;'>How to fix broken Facebook sample application &#8216;footprints&#8217;</a></li>
<li><a href='http://www.parorrey.com/blog/web-hosting/copying-files-from-remote-server-to-another-server-through-ssh/' rel='bookmark' title='Permanent Link: Copying files from remote server to another server through SSH'>Copying files from remote server to another server through SSH</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.parorrey.com%2Fblog%2Fproject-management%2Ften-step-guide-to-install-redmine-project-management-application%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.parorrey.com%2Fblog%2Fproject-management%2Ften-step-guide-to-install-redmine-project-management-application%2F&amp;source=parorrey&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Having tried several open source project management and bug tracking tools, such as dotProject, mantis  etc, Ruby based <strong>Redmine</strong> is a good solution.</p>
<p>Redmine is a flexible project management web application written using Ruby on Rails framework. It should run on most Unix, Linux, Mac and Windows systems as long as Ruby &amp; Ruby on Rails and RubyGems are available on that platform.</p>
<h2>Step 1</h2>
<p>For setting up Redmine on your server, you need SSH access. Log into your shell using putty or any other tool, and create a folder for rails application inside your user account but outside your public root, for instance if you are using CPanel to manage your hosting account, create a folder “rails_apps” inside your “/home” folder beside “/public_html “ folder.</p>
<p>First of all, change your directory to “rails_apps” by typing:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>your-user-account<span style="color: #000000; font-weight: bold;">/</span>rails_apps<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<h2>Step 2</h2>
<p>Once inside folder “rails_apps”, download and extract the Redmine archive. First get the Redmine files by typing following command at shell:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>rubyforge.org<span style="color: #000000; font-weight: bold;">/</span>frs<span style="color: #000000; font-weight: bold;">/</span>download.php<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">69449</span><span style="color: #000000; font-weight: bold;">/</span>redmine-0.9.3.tar.gz</pre></div></div>

<p>Please make sure that you get the latest version of Redmine. You can get the latest version file path from here <a href="http://rubyforge.org/frs/?group_id=1850">http://rubyforge.org/frs/?group_id=1850</a></p>
<p>Type following command to uncompress the Redmine file:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> zxvf redmine-0.9.3.tar.gz</pre></div></div>

<p>It will uncompress and create the directory redmine-0.9.3.</p>
<h2>Step 3</h2>
<p>Now set up your MySQL Database/user for Redmine installation. After setting up your mysql db and db user, rename “config/database.yml.example” to “config/database.yml” and edit this file in order to configure your database settings for &#8220;production&#8221; environment. Add your DB information here.</p>
<h3>Sample DB information for MySQL</h3>
<pre>production:
  adapter: mysql
  database: redmine
  host: localhost
  port: 3307
  username: redmine
  password: my_password</pre>
<h2>Step 4</h2>
<p>Change your directory to Redmine by typing following command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span>  <span style="color: #000000; font-weight: bold;">/</span>redmine-0.9.3</pre></div></div>

<h2>Step 5</h2>
<p>Redmine stores session data in cookies by default, which requires a secret to be generated. This can be done by running following command but make sure you are under the application root directory:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">RAILS_ENV</span>=production rake config<span style="color: #000000; font-weight: bold;">/</span>initializers<span style="color: #000000; font-weight: bold;">/</span>session_store.rb</pre></div></div>

<h2>Step 6</h2>
<p>Create the database structure, by running the following command to create tables and an administrator account under the application root directory:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">RAILS_ENV</span>=production rake db:migrate</pre></div></div>

<h2>Step 7</h2>
<p>Insert default configuration data in database, by running the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">RAILS_ENV</span>=production rake  redmine:load_default_data</pre></div></div>

<p>This step is optional but highly recommended, as you can define your own configuration from scratch. It will load default roles, trackers, statuses, workflows and enumerations.</p>
<h2>Step 8</h2>
<p>Test the installation by running WEBrick web server:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ruby script<span style="color: #000000; font-weight: bold;">/</span>server webrick <span style="color: #660033;">-e</span> production <span style="color: #660033;">-d</span></pre></div></div>

<p>Once WEBrick has started, point your browser to http://yourdomain.com:3000/. You should now see the application welcome page. Take special care to run above WEBrick command with –d to detach otherwise when you close the shell window, application will also shut down.</p>
<h2>Step 9</h2>
<p>Use default administrator account to log in:</p>
<pre>login: admin
password: admin</pre>
<h2>Step 10</h2>
<p>To get email notifications, set up SMTP server configuration.</p>
<p>Rename “config/email.yml.example” to “config/email.yml “ and edit this file to adjust your SMTP or pop email settings.</p>
<pre>#Outgoing email settings
production:
  delivery_method: :smtp
  smtp_settings:
  address: mail.yourdomain.com
  port: 25
  domain: yourdomain.com
  authentication: :login
  user_name: redmine@yourdomain.com
  password: redmine</pre>
<p>Don&#8217;t forget to restart the application after any change.</p>
<p>Cheers!</p>
<div style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;;">
										<iframe
											style="height:25px !important; border:none !important; overflow:hidden !important; width:340px !important;" frameborder="0" scrolling="no" allowTransparency="true"
											src="http://www.linksalpha.com/social?link=http%3A%2F%2Fwww.parorrey.com%2Fblog%2Fproject-management%2Ften-step-guide-to-install-redmine-project-management-application%2F&fc=333333&fs=arial&fblname=like">
										</iframe>
										</div>

<p>Related posts:<ol><li><a href='http://www.parorrey.com/blog/php-development/how-to-fix-broken-facebook-sample-application-footprints/' rel='bookmark' title='Permanent Link: How to fix broken Facebook sample application &#8216;footprints&#8217;'>How to fix broken Facebook sample application &#8216;footprints&#8217;</a></li>
<li><a href='http://www.parorrey.com/blog/web-hosting/copying-files-from-remote-server-to-another-server-through-ssh/' rel='bookmark' title='Permanent Link: Copying files from remote server to another server through SSH'>Copying files from remote server to another server through SSH</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.parorrey.com/blog/project-management/ten-step-guide-to-install-redmine-project-management-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
