Typo

From DreamHost

Jump to: navigation, search

Contents

Overview

The current stable version of Typo is 4.0. The project page for Typo is at http://www.typosphere.org/trac

The installation process for the previous version of typo is much more complete, detailed, and tested. You can now find it at Typo 2.6.0.

Installing Typo

There are a couple ways to install Typo. The means recommended by the Typo team is the gem install, which is not as straightforward on a shared hosting box. This Install might not work for some people and Aiden Bordner put together a great step by step guide on his site Power and Light he uses Subversion to install from the source.

Gem Install

Before you install typo via a gem install, you must first set up your local directory for installing ruby gems (you can't install them globally on a shared account). See instructions at RubyGems#Installing Your Own gem. Typo requires Ruby 1.8.4, and DreamHost currently has 1.8.2 installed, so you'll have to install Ruby 1.8.4 locally, for now. These are all the steps I took.

Issue 974 and readline

To get around issue 974, you must have ruby installed with readline support. To do that, first install the Readline libraries in ${HOME}.


Now install ruby 1.8.4

Follow the instructions at Ruby, except be sure to include the --with-readline-dir flag when running configure:

$ ./configure --prefix=$HOME --with-readline-dir=$HOME

Now install rubygems

Follow the instructions at RubyGems.

Now install the Typo gem

Very simple:

$ gem install typo --include-dependencies

Now install your Typo installation

$ typo install $HOME/path/you/want/to/install/to

(other ways of installing)

Upgrading Typo

You should be able to go through the steps above to install the Typo gem. Once you have that, the idea is that you ought to be able to simply run this:

$ typo install /path/to/your/old/install

In order to avoid the problems here, you might have to remove the old migration files from the db/migrate directory and let it copy over new ones.

See Also

Personal tools