<?xml version="1.0" encoding="UTF-8"?>
<wiki>
  <body>&lt;h2&gt;Prerequisites&lt;/h2&gt;
&lt;p&gt;You need to have Ruby 1.8.6 or 1.8.7, Rubygems 1.3 and Merb installed on your server. If you don&amp;#8217;t have Rubygems installed get it at &lt;a href=&quot;http://www.rubygems.org&quot;&gt;http://www.rubygems.org&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;To install Merb stack:&lt;/p&gt;
sudo gem install merb
&lt;p&gt;You also need &lt;code&gt;html5&lt;/code&gt;  and &lt;code&gt;do_mysql&lt;/code&gt; gems:&lt;/p&gt;
sudo gem install do_mysql html5
&lt;h2&gt;Get the source&lt;/h2&gt;
&lt;p&gt;Next get the source code from Rubytime github repository:&lt;/p&gt;
git clone git://github.com/LunarLogicPolska/rubytime.git
&lt;h2&gt;Configure&lt;/h2&gt;
&lt;p&gt;Enter application directory:&lt;/p&gt;
cd rubytime
&lt;p&gt;Then:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;copy config/database.yml.example to config/database.yml, then edit it to match your database configuration&lt;/li&gt;
	&lt;li&gt;copy config/local_config.rb.example to config/local_config.rb, then set application domain and mailer &amp;#8220;From&amp;#8221; address&lt;/li&gt;
	&lt;li&gt;run &lt;code&gt;rake db:automigrate&lt;/code&gt; to create database structure&lt;/li&gt;
	&lt;li&gt;run &lt;code&gt;rake rubytime:kickstart&lt;/code&gt; to populate database tables with initial data (admin account, example clients and projects)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Run&lt;/h2&gt;
&lt;p&gt;Run the application:&lt;/p&gt;
merb
&lt;p&gt;Point your browser to url set in config/local/config.rb and login as admin with password asdf1234&lt;/p&gt;
&lt;h2&gt;Contact &amp;amp; information&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;http://www.rubytime.org&quot;&gt;www.rubytime.org&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.lunarlogicpolska.com&quot;&gt;www.lunarlogicpolska.com&lt;/a&gt;&lt;/p&gt;</body>
  <created-at type="datetime">2009-11-25T02:59:41-08:00</created-at>
  <id type="integer">86459</id>
  <permalink>setup-instruction</permalink>
  <repository-id type="integer">71511</repository-id>
  <title>Setup Instruction</title>
  <updated-at type="datetime">2008-12-11T05:10:40-08:00</updated-at>
  <user-id type="integer">32790</user-id>
</wiki>
