<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Supporting Open Source weblog: Installing typo with the installer</title>
    <link>http://blog.sos.be/articles/2007/02/02/installing-typo-with-the-installer</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>Installing typo with the installer</title>
      <description>&lt;p&gt;(&lt;a href="http://blog.sos.be/articles/2007/01/17/typo-installeren-met-de-installer"&gt;De nederlandse versie van dit artikel&lt;/a&gt;)&lt;/p&gt;


	&lt;p&gt;The most recent version (4.0.3) of typo has a gem based installer included. Installing the typo weblog server is now fairly easy to do.&lt;/p&gt;&lt;p&gt;See also: &lt;a href="http://scottstuff.net/blog/articles/2006/07/23/typo-installer"&gt;ScottStuff&lt;/a&gt;&lt;/p&gt;


&lt;pre&gt;
gem install typo --include-dependencies

typo install directory bind-address=127.0.0.1 port-number=3010 database=mysql
db_name=xxx db_user=xxx db_password=xxx
&lt;/pre&gt;

	&lt;p&gt;For installing typo: &lt;code&gt;typo install directory var1=val1 var2=val2 ...&lt;/code&gt;.&lt;/p&gt;


	&lt;p&gt;To modify the config: &lt;code&gt;typo config directory var1=val1 var2=val2 ...&lt;/code&gt;&lt;/p&gt;


&lt;hr/&gt;

	&lt;p&gt;&lt;strong&gt;But attention:&lt;/strong&gt;&lt;/p&gt;


	&lt;p&gt;&lt;em&gt;Modification for the database params, as mentioned above, have no effect. You need to change them manually in the rails database config:&lt;/em&gt; &lt;code&gt;/path/to/typo/config/database.yml&lt;/code&gt;&lt;/p&gt;


&lt;hr/&gt;

	&lt;p&gt;For displaying the current config: &lt;code&gt;typo config directory&lt;/code&gt;&lt;/p&gt;


	&lt;p&gt;Wich gives the following result, and at once the possible parameters:&lt;/p&gt;


&lt;pre&gt;
typo config typo

database=mysql
db_name=typo
db_user=xxx
db_password=xxx
port-number=xxx
rails-environment=production
threads=2
web-server=mongrel
&lt;/pre&gt;

Other useful options/variables are:
&lt;pre&gt;
bind-address
url-prefix
&lt;/pre&gt;

	&lt;h2&gt;To start and to stop:&lt;/h2&gt;


&amp;nbsp;
&lt;pre&gt;
typo start /path/to/typo

typo stop /path/to/typo
&lt;/pre&gt;</description>
      <pubDate>Fri, 02 Feb 2007 22:05:00 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:9ede8578-44c5-4fc5-9671-d2538f7fb2fe</guid>
      <author>Paul Verreth</author>
      <link>http://blog.sos.be/articles/2007/02/02/installing-typo-with-the-installer</link>
      <category>artikels</category>
      <category>typo</category>
    </item>
  </channel>
</rss>
