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 from sources

There are many ways to install Typo. If you’re not sure, just ask your web hosting provider, he’ll certainly have an answer to this. If you’re hosting Typo on a VPS or a dedicated server, you’ll want to check our hosting Typo documentation.

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 (either via shell or FTP)
  • 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:

  • Unzip and upload Typo sources to a folder of your hard drive.
  • Edit the configuration file.
  • Restart your Typo application

Getting Typo

Just go on Typo official download page and download the latest release zip file.

Unzip Typo archive, and open your FTP client and upload Typo on your web hosting, using the account information you were given at subscription time.

Configuring Typo

Rename your Typo install config/database.yml.example into database.yml, and open it with your favourite text editor. Use your database information you were given by your web hosting.

Then, upload your database.yml file on your Typo installation config directory, and restart your Typo web application.

Using MySQL

You will more than likely use MySQL. If so, set the adapter line as “mysql”, and your databse name on the “production” line. If your web hosting company has granted you with development and test databses, just fill in the appropriate lines.

Your configuration file should look like this :

login: &login
  adapter: mysql
  host: localhost
  username: john_doe
  password: sikritpassword

development:
  database: typo_dev
  <<: *login

test:
  database: typo_tests
  <<: *login

production:
  database: typo
  <<: *login

Using PgSQL

If you’re using PgSQL, set the adapter line as “postgresql”, and your databse name on the “production” line. If your web hosting company has granted you with development and test databses, just fill in the appropriate lines.

login: &login
  adapter: postgresql
  host: localhost
  username: john_doe
  password: sikritpassword

development:
  database: typo_dev
  <<: *login

test:
  database: typo_tests
  <<: *login

production:
  database: typo
  <<: *login

Using SQLlite

If your hosting company has not given you any databse, change quickly! But don’t panic, you can still use Typo. Get your favourite towell and just fill in your database.yml file this way :

login: &login
  adapter: sqlite3
  database: db/database.sqlite

development:
  <<: *login

production:
  <<: *login

test:
  database: ":memory" 
  <<: *login
Last edited by dailian, Sun Feb 01 02:29:15 -0800 2009
Home | Edit | New
Versions: