|  About  |  Archives  |  Log in  | 

Archive for the 'Ruby on Rails' Category

Typo Install

I have just installed the Typo blogging system on a WinXP box (SP1). Since I could not find a walkthrough of the install process, I thought I would post my experience. A readme file comes with the Typo distribution and it contains all necessary information. Here's what I did:I downloaded the latest stable release and unzipped the file into a local directory. I then followed the instructions in the readme file (located in the root of the directory you unzipped to):

  • Created Postgresql Typo database by executing

    . I copied the SQL statements into pgAdminIII and executed them from there.

  • Updated config/database.yml to use adapter

    - enter name, username and password for the database you have just created for typo. Note that for this to work, you must have the postgresql library for Rail's ActiveRecord installed. This can be done through the RubyGems installer - see my post on Ruby on Rails install.

  • Ran
    'ruby script/server -e production'

    , which started WEBbrick.

  • Pointed browser to

    and commenced account signup.

  • After account signup, configure blog using web administration interface at

Now I am up and running and almost everything is good. WEBrick - the web server that is bundled with {'Ruby', 'Rails', 'Ruby on Rails'} - dies on me a lot. The frequent crashes seems to occur whenever I submit a new request (by clicking a link in Typo or entering URL in browser), before a page has loaded completely.

If you enjoyed this post, make sure you subscribe to my RSS feed!

Ruby Install Walkthrough

I installed Ruby on Rails on my XP box (SP1) at work and thought I would post how I did it.

Update 29-11-2005

I came across this excellent set of configuration tutorials on the Ruby on Rails Wiki.

If you enjoyed this post, make sure you subscribe to my RSS feed!

Ruby On Rails

I am getting my feet wet with Ruby on Rails - RoR. "Rails" is a much hyped framework for web application development, which uses the "Ruby" programming (or is it scripting?) language. So far it has been a very pleasant experience since RoR really does away with a lot of the CRUD involved in web application development. I have not yet gotten to the more heavy stuff concerning page layout, site navigation and session management, but here are links to some of the resources that helped me get started.
The Ruby on Rails website and these are the "official" getting started pages. The inventor of Rails, David Heinemeier Hansson, has posted a few "getting started" tips in his blog.

At Oreilly's ONLamp.com, Curt Hibbs has written a tutorial in two parts (part 1 part 2). The tutorial features a walkthrough of a simple, yet very illustrative sample application. Curt Hibbs is also the author of an article on using Ajax with Rails.
This blog entry comments and supplements Curt Hibb's tutorial.
How to get Ruby on Rails working with Apache2 and FastCGI?
Using Eclipse for Rails development or the Eclipse based RadRails IDE.

If you enjoyed this post, make sure you subscribe to my RSS feed!