fdv / typo watch
public
Description: Typo is the oldest and most powerful Ruby on Rails blogware, providing custom templates, powerful drag and drop plugins API, advanced SEO capabilities, XMLRPC API and many more.
Home | Edit | New

Install Typo with Typo installer

Typo comes with a nice package and installer that allows to automate your installation.

Things to know before you begin

Before you begin the install, there are few things you need to have and do.

What you need for the installation

You need access to your site and its directory and software to proceed with the installation. These are:

  • An access to your web server via shell
  • A text editor
  • Your favourite web browser

What you need to do for the installation

Begin your installation by checking your web host provides Ruby on Rails hosting. Then:

  • Install the last gem of Typo.
  • Create or ask your web hosting for a production and a test database.
  • Launch Typo installer (maybe both).

Installing Typo

It’s the easiest way and the one we would recommend. For this, you need either to be able to install gems on your host or ask your web hosting provider to install it.

  $ sudo gem install typo

If you don’t have root access on your hosting server, then try this instead:

  $ export GEM_PATH=~/gems
  $ gem install -i ~/gems typo
  $ ~/gems/bin/typo install /some/path

By default, Typo runs with MySQL, but you can choose to install it on SQLITE or pgsql as well.

Using MySQL

Ensure you or your hosting provider have installed ruby mysql driver.

  $ typo install some/path db_user=my_app db_name=my_app db_host=localhost db_password=password

If you don’t have root access on your hosting server, then try this instead:

  $ export GEM_PATH=~/gems
  $ ~/gems/bin/typo install some/path db_user=my_app db_name=my_app db_host=localhost db_password=password

Using PgSQL

Ensure you or your hosting provider have installed ruby postgresql driver.

  $ typo install some/path database=postgresql db_user=my_app db_name=my_app db_host=localhost db_password=password

If you don’t have root access on your hosting server, then try this instead:

  $ export GEM_PATH=~/gems
  $ ~/gems/bin/typo install some/path database=postgresql db_user=my_app db_name=my_app db_host=localhost db_password=password

Using SQLlite3

Ensure you or your hosting provider have installed ruby sqlite3 driver.

  $ typo install some/path database=sqlite 

If you don’t have root access on your hosting server, then try this instead:

  $ export GEM_PATH=~/gems
  $ ~/gems/bin/typo install some/path database=sqlite
Last edited by fdv, Sat Dec 20 10:31:49 -0800 2008
Home | Edit | New
Versions: