<?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>Sam Pierson&#039;s Blog &#187; typo</title>
	<atom:link href="http://sampierson.com/blog/tag/typo/feed/" rel="self" type="application/rss+xml" />
	<link>http://sampierson.com/blog</link>
	<description>Augmentation of an Imperfect Memory.</description>
	<lastBuildDate>Wed, 21 Jul 2010 01:41:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Typo</title>
		<link>http://sampierson.com/blog/system-administration/typo/</link>
		<comments>http://sampierson.com/blog/system-administration/typo/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 15:59:43 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[typo]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://sampierson.com/blog/?p=82</guid>
		<description><![CDATA[The performance of Typo under mod_rails is unimpressive.  As it&#8217;s early days for this server and I don&#8217;t have the time to investigate this, I have just switched the blog to WordPress and it is now much snappier.
]]></description>
			<content:encoded><![CDATA[<p>The performance of Typo under mod_rails is unimpressive.  As it&#8217;s early days for this server and I don&#8217;t have the time to investigate this, I have just switched the blog to <a href="http://wordpress.org/">WordPress</a> and it is now much snappier.</p>
]]></content:encoded>
			<wfw:commentRss>http://sampierson.com/blog/system-administration/typo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Typo</title>
		<link>http://sampierson.com/blog/system-administration/installing-typo/</link>
		<comments>http://sampierson.com/blog/system-administration/installing-typo/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 20:40:00 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[typo]]></category>

		<guid isPermaLink="false">urn:uuid:a16a54f4-f525-4660-b824-3acff7852bc9</guid>
		<description><![CDATA[Typo is a blogging application written in Ruby on Rails.  Here is how to install it (using MySQL as the back-end database):
Get MySQL working, make sure you have MySQL header files and client libraries.
Install mod_rails.
Install the typo gem.  Apple put MySQL headers and libraries in /usr/include/mysql and /usr/lib/mysql which is not what the typo gem [...]]]></description>
			<content:encoded><![CDATA[<p>Typo is a blogging application written in Ruby on Rails.  Here is how to install it (using MySQL as the back-end database):</p>
<p><a href="http://sampierson.com/blog/?p=20">Get MySQL working</a>, make sure you have MySQL header files and client libraries.</p>
<p><a href="http://sampierson.com/blog/?p=17">Install mod_rails</a>.</p>
<p>Install the typo gem.  Apple put MySQL headers and libraries in /usr/include/mysql and /usr/lib/mysql which is not what the typo gem expects (/usr/local/mysql/{include,lib}).  It is therefore necessary to point the installer in the right direction, which we do by getting it to use the mysql_config program:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> typo – –with-mysql-config=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>mysql_config</pre></div></div>

<p>Create a MySQL user, (e.g. sams_blog) that has privileges to create two databases: one for your blog, and one that has the same name with _test appended to it, e.g. sams_blog and sams_blog_test.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">typo <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>your<span style="color: #000000; font-weight: bold;">/</span>blog <span style="color: #007800;">db_user</span>=sams_blog <span style="color: #007800;">db_name</span>=sams_blog <span style="color: #007800;">db_host</span>=localhost <span style="color: #007800;">db_password</span>=<span style="color: #000000; font-weight: bold;">&lt;</span>password<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p>Typo sets up the database, and starts a webserver running on port 4869.  Navigate to that page and create the first user (this will be an admin user).  At this point I stopped that server (using: typo stop /path/to/blog) and configured mod_rails to run it instead.</p>
]]></content:encoded>
			<wfw:commentRss>http://sampierson.com/blog/system-administration/installing-typo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
