<?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>CTO Blog</title>
	<atom:link href="http://blogs.icspot.com/cto/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blogs.icspot.com/cto</link>
	<description>Connecting people and information</description>
	<lastBuildDate>Thu, 28 Jan 2010 18:13:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Accessing the Windows registry with C#</title>
		<link>http://blogs.icspot.com/cto/?p=38</link>
		<comments>http://blogs.icspot.com/cto/?p=38#comments</comments>
		<pubDate>Thu, 28 Jan 2010 18:10:31 +0000</pubDate>
		<dc:creator>smsullivan</dc:creator>
				<category><![CDATA[.NET Framework]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://blogs.icspot.com/cto/?p=38</guid>
		<description><![CDATA[I wanted to write a little bit about using the Windows registry from a .NET language.  I’ve been working on a small desktop application and I wanted to store some state information that is used upon starting the application.  The Windows registry made sense in this particular instance.  Naturally, I turned to the Google machine [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to write a little bit about using the Windows registry from a .NET language.  I’ve been working on a small desktop application and I wanted to store some state information that is used upon starting the application.  The Windows registry made sense in this particular instance.  Naturally, I turned to the Google machine to find some code examples on access the registry only to find that most of the code examples didn’t work at runtime, at least under the .NET Framework 3.5.  I corrected the problem and am sharing the code with anyone interested.</p>
<p><span id="more-38"></span>The Windows registry is something like a central database used by the Windows operating system and most applications for storing all sorts of information that can be easily retrieved.  It is organized into tree like structures with keys and values.  It’s important to understand how the registry is organized so you can make an informed decision on where you want to create your keys.  It’s also a real easy way of fouling up your operating system, so BE CAREFUL!</p>
<p>In this example, I wished to store a string value in a key that can be retrieved every time the application starts and a means of allowing the user to update the value at any time.  I accomplished these using two methods in the main class of the application.  For step is to include the appropriate namespace for the Registry classes are located; the namespace is Microsoft.Win32.</p>
<pre>using Microsoft.Win32;</pre>
<p>Now for the methods:</p>
<pre>/// &lt;summary&gt;</pre>
<pre>/// Check the registry key for the string value.</pre>
<pre>/// &lt;/summary&gt;</pre>
<pre>/// &lt;returns&gt;string&lt;/returns&gt;</pre>
<pre>private string GetRegistryKey()</pre>
<pre>{</pre>
<pre>RegistryKey key Registry.CurrentUser.OpenSubKey("Software\\cSpotInterWorks\\SubkeyName");</pre>
<pre>if (key == null)</pre>
<pre>{</pre>
<pre>key = Registry.CurrentUser.CreateSubKey("Software\\cSpotInterWorks\\SubkeyName");</pre>
<pre>key.SetValue("ValueName", String.Empty);</pre>
<pre>}</pre>
<pre>string myString = key.GetValue("ValueName").ToString();</pre>
<pre>key.Close();</pre>
<pre>return myString;</pre>
<pre>}</pre>
<pre>/// &lt;summary&gt;</pre>
<pre>/// Set the registry key with the value string.</pre>
<pre>/// &lt;/summary&gt;</pre>
<pre>/// &lt;param name="myString"&gt;string: A string value.&lt;/param&gt;</pre>
<pre>private void SetRegistryKey(string myString)</pre>
<pre>{</pre>
<pre>RegistryKey key = Registry.CurrentUser.OpenSubKey("Software\\cSpotInterWorks\\SubkeyName", true);</pre>
<pre>if (myString.Length != 0)
 {
 key.SetValue("ValueName", myString);
 }
 key.Close();
}</pre>
<p>My application calls GetRegistryKey() in the constructor of the main application class.  The OpenSubKey method is called to open the key at the specified location.  In this case, I used the Software tree with our company name, and the sub-key name.  If the sub- key hasn’t been located the type “key” will be null.  So I check for the null and create the sub-key using the CreateSubKey method.  After the sub-key has been created I populate it with an empty value for use later.</p>
<p>Many code examples do not include the CreateSubKey method.  If you do not include it, a null object reference exception will be thrown.   So be sure to create the sub-key if it doesn’t exist when you open it.</p>
<p>The second method SetRegistryKey(string myString) is used to change the value of the sub-key.  Once again, declare a type that references the sub-key you wish to access.  Use the SetValue method with the value name and the string to be stored.  I didn’t bother checking to see if the sub-key exists as I handled that in the GetRegistryKey() method and never call the SetRegistryKey method first.  That’s entirely up to you.</p>
<p>There’s plenty of written material on the subtleties of the registry.  I hope at least this will get you pointed in the right direction!</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.icspot.com/cto/?feed=rss2&amp;p=38</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ArcGIS 9.3 and Windows 7</title>
		<link>http://blogs.icspot.com/cto/?p=35</link>
		<comments>http://blogs.icspot.com/cto/?p=35#comments</comments>
		<pubDate>Fri, 15 Jan 2010 18:38:25 +0000</pubDate>
		<dc:creator>smsullivan</dc:creator>
				<category><![CDATA[GIS]]></category>
		<category><![CDATA[ArcGIS]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://blogs.icspot.com/cto/?p=35</guid>
		<description><![CDATA[After installing Windows 7 Ultimate, I tried installing ESRI&#8217;s ArcGIS Desktop 9.3.  With less than a minute left in the install, the installer threw an exception and rolled back the installation.  The solution to this problem is to download the latest VC++ 2008 Redistributable package from Microsoft and install it.  ArcGIS should install without any [...]]]></description>
			<content:encoded><![CDATA[<p>After installing Windows 7 Ultimate, I tried installing ESRI&#8217;s ArcGIS Desktop 9.3.  With less than a minute left in the install, the installer threw an exception and rolled back the installation.  The solution to this problem is to download the latest VC++ 2008 Redistributable package from Microsoft and install it.  ArcGIS should install without any problems.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.icspot.com/cto/?feed=rss2&amp;p=35</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Painless upgrade of Icinga 0.8.4 to 1.0RC1</title>
		<link>http://blogs.icspot.com/cto/?p=32</link>
		<comments>http://blogs.icspot.com/cto/?p=32#comments</comments>
		<pubDate>Fri, 30 Oct 2009 18:16:50 +0000</pubDate>
		<dc:creator>smsullivan</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blogs.icspot.com/cto/?p=32</guid>
		<description><![CDATA[I just finished upgrading Icinga from 0.8.4 to 1.0RC1 on an Ubuntu server.  The upgrade was straight forward.  I recommend you backup your /usr/local/icinga/etc directory prior to upgrading just in case something goes wrong.
Here are the steps I used to complete the upgrade in less than 5 minutes.  Beginning in the directory where you downloaded [...]]]></description>
			<content:encoded><![CDATA[<p>I just finished upgrading <a href="http://www.icinga.org/" target="_blank">Icinga</a> from 0.8.4 to 1.0RC1 on an Ubuntu server.  The upgrade was straight forward.  I recommend you backup your /usr/local/icinga/etc directory prior to upgrading just in case something goes wrong.</p>
<p><span id="more-32"></span>Here are the steps I used to complete the upgrade in less than 5 minutes.  Beginning in the directory where you downloaded the Icinga tarball:</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">$ sudo cp icinga-1.0-RC1.tar.gz /usr/src/</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">$ cd /usr/src</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">$ sudo tar xvfz icinga-1.0-RC1.tar.gz</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">$ cd icinga-1.0-RC1/</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">$ sudo ./configure</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">$ sudo make all</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">$ sudo make install</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">$ sudo /etc/init.d/icinga restart</div>
<blockquote><p>$ sudo cp icinga-1.0-RC1.tar.gz /usr/src/<br />
$ cd /usr/src<br />
$ sudo tar xvfz icinga-1.0-RC1.tar.gz<br />
$ cd icinga-1.0-RC1/<br />
$ sudo ./configure<br />
$ sudo make all<br />
$ sudo make install<br />
$ sudo /etc/init.d/icinga restart</p></blockquote>
<p>This procedure assumes you already have a running installation of Icinga.  Basically you only need to compile the new version and install the binaries, CGI scripts, and HTML files.  Restart Icinga and you&#8217;re done!</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.icspot.com/cto/?feed=rss2&amp;p=32</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A killer Windows 7 bug? Sorry, no</title>
		<link>http://blogs.icspot.com/cto/?p=30</link>
		<comments>http://blogs.icspot.com/cto/?p=30#comments</comments>
		<pubDate>Wed, 05 Aug 2009 21:06:15 +0000</pubDate>
		<dc:creator>smsullivan</dc:creator>
				<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://blogs.icspot.com/cto/?p=30</guid>
		<description><![CDATA[The blogosphere is abuzz over a newly publicized bug in Windows 7.
http://digg.com/d3zn2N?e
]]></description>
			<content:encoded><![CDATA[<p>The blogosphere is abuzz over a newly publicized bug in Windows 7.</p>
<p><span><a href="http://digg.com/d3zn2N?e">http://digg.com/d3zn2N?e</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.icspot.com/cto/?feed=rss2&amp;p=30</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone virus: What you need to know &#124; Mobilize &#8211; InfoWorld</title>
		<link>http://blogs.icspot.com/cto/?p=29</link>
		<comments>http://blogs.icspot.com/cto/?p=29#comments</comments>
		<pubDate>Tue, 04 Aug 2009 17:54:47 +0000</pubDate>
		<dc:creator>smsullivan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.icspot.com/cto/?p=29</guid>
		<description><![CDATA[iPhone virus: What you need to know &#124; Mobilize &#8211; InfoWorld
Posted using ShareThis
]]></description>
			<content:encoded><![CDATA[<p><a href=http://shar.es/K16O>iPhone virus: What you need to know | Mobilize &#8211; InfoWorld</a></p>
<p>Posted using <a href="http://sharethis.com">ShareThis</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.icspot.com/cto/?feed=rss2&amp;p=29</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Masking passwords: Why it&#8217;s not a good idea</title>
		<link>http://blogs.icspot.com/cto/?p=26</link>
		<comments>http://blogs.icspot.com/cto/?p=26#comments</comments>
		<pubDate>Tue, 30 Jun 2009 16:20:49 +0000</pubDate>
		<dc:creator>smsullivan</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://blogs.icspot.com/cto/?p=26</guid>
		<description><![CDATA[I found an interesting topic on masking passwords (you know, the little bullets that appear when you type in your password).  Dr. Jakob Nielsen argues that masking passwords degrades the usability experience.  Michael Kassner of TechRepublic weighs in on the matter.  What do you think?
Read article
]]></description>
			<content:encoded><![CDATA[<p>I found an interesting topic on masking passwords (you know, the little bullets that appear when you type in your password).  Dr. Jakob Nielsen argues that masking passwords degrades the usability experience.  Michael Kassner of TechRepublic weighs in on the matter.  What do you think?</p>
<p><a href="http://blogs.techrepublic.com.com/security/?p=1866&amp;tag=nl.e036">Read article</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.icspot.com/cto/?feed=rss2&amp;p=26</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building Sites Around Social Objects</title>
		<link>http://blogs.icspot.com/cto/?p=24</link>
		<comments>http://blogs.icspot.com/cto/?p=24#comments</comments>
		<pubDate>Fri, 24 Apr 2009 21:44:54 +0000</pubDate>
		<dc:creator>smsullivan</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Social networks]]></category>
		<category><![CDATA[social objects]]></category>

		<guid isPermaLink="false">http://blogs.icspot.com/cto/?p=24</guid>
		<description><![CDATA[This is an interesting presentation from the Web 2.0 Expo in San Francisco, CA this year.  It presents some interesting ideas on building web sites around social objects.
Building Sites Around Social Objects &#8211; Web 2.0 Expo SF 2009
View more presentations from Jyri Engeström.

]]></description>
			<content:encoded><![CDATA[<p>This is an interesting presentation from the Web 2.0 Expo in San Francisco, CA this year.  It presents some interesting ideas on building web sites around social objects.</p>
<div id="__ss_1249035" style="width: 425px; text-align: left;"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" title="Building Sites Around Social Objects - Web 2.0 Expo SF 2009" href="http://www.slideshare.net/jyri/building-sites-around-social-objects-web-20-expo-sf-2009?type=presentation">Building Sites Around Social Objects &#8211; Web 2.0 Expo SF 2009</a><object width="425" height="355" data="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=buildingsitesaroundsocialobjects-090404173335-phpapp01&amp;stripped_title=building-sites-around-social-objects-web-20-expo-sf-2009" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=buildingsitesaroundsocialobjects-090404173335-phpapp01&amp;stripped_title=building-sites-around-social-objects-web-20-expo-sf-2009" /><param name="allowfullscreen" value="true" /></object></p>
<div style="font-size: 11px; font-family: tahoma,arial; height: 26px; padding-top: 2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">presentations</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/jyri">Jyri Engeström</a>.</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blogs.icspot.com/cto/?feed=rss2&amp;p=24</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gone but not forgotten: 10 operating systems the world left behind</title>
		<link>http://blogs.icspot.com/cto/?p=22</link>
		<comments>http://blogs.icspot.com/cto/?p=22#comments</comments>
		<pubDate>Thu, 26 Mar 2009 18:21:33 +0000</pubDate>
		<dc:creator>smsullivan</dc:creator>
				<category><![CDATA[Operating Systems]]></category>

		<guid isPermaLink="false">http://blogs.icspot.com/cto/?p=22</guid>
		<description><![CDATA[As the tech community gears up to celebrate Unix&#8217;s 40th birthday this summer, one thing is clear: People do love operating systems. They rely on them, get exasperated by them and live with their little foibles.
Read More &#62;&#62;
]]></description>
			<content:encoded><![CDATA[<p>As the tech community gears up to celebrate Unix&#8217;s 40th birthday this summer, one thing is clear: People do love operating systems. They rely on them, get exasperated by them and live with their little foibles.</p>
<p><a href="http://www.computerworld.com/action/article.do?command=viewArticleBasic&amp;articleId=9129459">Read More &gt;&gt;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.icspot.com/cto/?feed=rss2&amp;p=22</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VirtualBox guest additions</title>
		<link>http://blogs.icspot.com/cto/?p=19</link>
		<comments>http://blogs.icspot.com/cto/?p=19#comments</comments>
		<pubDate>Thu, 19 Mar 2009 17:52:01 +0000</pubDate>
		<dc:creator>smsullivan</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://blogs.icspot.com/cto/?p=19</guid>
		<description><![CDATA[Since I develop for both Windows and Linux, I running Windows Vista as my host system with VirtualBox virtualization software.  I am currently using Ubuntu 8.04 LTS installed as a guest system for Linux development.  One thing to remember (which I always tend to forget), whenever you upgrade VirtualBox or the Linux kernel, you need [...]]]></description>
			<content:encoded><![CDATA[<p>Since I develop for both Windows and Linux, I running Windows Vista as my host system with <a href="http://www.virtualbox.org/" target="_blank">VirtualBox</a> virtualization software.  I am currently using Ubuntu 8.04 LTS installed as a guest system for Linux development.  One thing to remember (which I always tend to forget), whenever you upgrade VirtualBox or the Linux kernel, you need to reinstall the VirtualBox Guest Additions, otherwise woe is you!  It&#8217;s kind of a hassle, but it keeps Ubuntu happy.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.icspot.com/cto/?feed=rss2&amp;p=19</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Rhodes microframework on Ubuntu 8.04</title>
		<link>http://blogs.icspot.com/cto/?p=3</link>
		<comments>http://blogs.icspot.com/cto/?p=3#comments</comments>
		<pubDate>Mon, 09 Mar 2009 22:18:22 +0000</pubDate>
		<dc:creator>smsullivan</dc:creator>
				<category><![CDATA[Mobile Apps]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Rhodes]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://blogs.icspot.com/cto/?p=3</guid>
		<description><![CDATA[While attending the SugarCRM conference this year, I learned about a microframework for developing mobile interfaces to enterprise applications.  The Rhodes microframework offers the advantage of building an application once and deploying to multiple platforms using tools based on Ruby on Rails.  This is the first time I&#8217;ve really used Ruby.  In this article, I [...]]]></description>
			<content:encoded><![CDATA[<p>While attending the <a href="http://www.sugarcrm.com/" target="_blank">SugarCRM</a> conference this year, I learned about a microframework for developing mobile interfaces to enterprise applications.  The <a href="http://www.rhomobile.com/" target="_blank">Rhodes</a> microframework offers the advantage of building an application once and deploying to multiple platforms using tools based on Ruby on Rails.  This is the first time I&#8217;ve really used Ruby.  In this article, I will describe how to install a working development project using Rhodes connected to a MySQL server.</p>
<p><span id="more-3"></span>Now for the technical specs.  I first installed <a href="http://www.virtualbox.org/" target="_blank">VirtualBox</a> (providing the necessary virtualization software to install Linux) on a Windows Vista system and then installed Ubuntu Desktop 8.04 LTS.   This was a default installation using GNOME.</p>
<p><strong>Installing LAMP Stack</strong></p>
<p>For this particular situation, I am going to be developing a prototype that requires Apache, PHP, and MySQL.  Fortunately, the stack can be installed quite easily under Ubuntu.  To do so enter the  following command and follow the instructions:</p>
<blockquote><p>sudo tasksel install lamp-server</p></blockquote>
<p>You might also want to consider installing Webmin to make life a little easier managing Apache and MySQL.</p>
<p><strong>Installing Ruby</strong></p>
<p>The first step is to install Ruby.  This is quite easy to do with Ubuntu.  Open a terminal window and type the following command:</p>
<blockquote><p>sudo apt-get install ruby-full build-essential</p></blockquote>
<p>After Ruby has been installed, you can verify that it is installed by typing:</p>
<blockquote><p>ruby -v</p></blockquote>
<p>Now you must install Gems, which is required for installing and managing all the various Ruby components down the line.  Download RubyGems and install it with the following commands:</p>
<blockquote><p>cd<br />
wget http://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz<br />
tar xzvf rubygems-1.3.1.tgz<br />
cd rubygems-1.3.1<br />
sudo ruby setup.rb</p></blockquote>
<p>Now create a symbolic link to the Gem program and run an update:</p>
<blockquote><p>sudo ln -s /usr/bin/gem1.8 /usr/bin/gem<br />
sudo gem update &#8211;system (two dashes)</p></blockquote>
<p>After Gem has been updated, it&#8217;s time to install Ruby on Rails.  This should install the latest version (2.2.2 or greater), which is needed by the Rhodes microframework.</p>
<blockquote><p>sudo gem install rails<br />
sudo gem list</p></blockquote>
<p>You should now see a list of available gems that have been installed.  Before downloading the Rhodes development environment, you will need to install Git.</p>
<blockquote><p>sudo apt-get install git-core</p></blockquote>
<p>Now you should be ready to install the Rhodes microframework for developing your mobile applications.  Read the <a href="http://www.rhomobile.com/wiki/index.php?title=Mobilizing_Your_Application_with_Rhomobile" target="_blank">tutorial</a> on the Rhomobile wiki for instructions on installing the Rhosync server and building Rhodes apps.  For my project here are the steps I followed beginning with getting the Rhosync server project:</p>
<blockquote><p>sudo gem install rspec-rails rake<br />
cd<br />
git clone git://github.com/rhomobile/rhosync.git</p></blockquote>
<p>After you&#8217;ve cloned the Rhosync project, additional software needs to be installed.</p>
<blockquote><p>sudo apt-get install libmysqlclient15-dev libxml2-dev<br />
sudo gem install mysql</p></blockquote>
<p>And now we need to finish setting up our Rhosync project and connect it to the database server.</p>
<blockquote><p>cd rhosync<br />
mkdir -p log<br />
touch log/development.log<br />
sudo chmod 0666 log/development.log<br />
sudo rake gems:install</p></blockquote>
<p>Edit the database.yml file and use your desired database adapter and configure the development, test, and production database host information.</p>
<blockquote><p>pico config/database.yml</p></blockquote>
<p>Now we can initialize the databases and load the adapters that come with the Rhosync server.</p>
<blockquote><p>rake db:bootstrap</p></blockquote>
<p>The Ruby installs with WEBrick as the default server.  If you want, you can install Mongrel instead:</p>
<blockquote><p>sudo gem install mongrel</p></blockquote>
<p>Now you&#8217;re ready to start everything up!</p>
<blockquote><p>script/server</p></blockquote>
<p>Test your Rhosyn installation by opening your web browser to:  <a href="http://localhost:3000/">http://localhost:3000/</a>.  And finally, you should download the Rhodes software for building apps:</p>
<blockquote><p>cd<br />
git clone git://github.com/rhomobile/rhodes.git rhodes</p></blockquote>
<p>Check out Rhomobile&#8217;s wiki for more detailed instructions on building applications.  They&#8217;ve also provided some sample apps to look at.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.icspot.com/cto/?feed=rss2&amp;p=3</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

