|  About  |  Archives  |  Log in  | 

Archive for October, 2005

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
    db/schema.psql.sql

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

  • Updated config/database.yml to use adapter
    'postgresql'

    - 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
    http://localhost:3000

    and commenced account signup.

  • After account signup, configure blog using web administration interface at
    http://localhost:3000/admin

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!

Firefox Keyboard Shortcuts

I came across this nifty overview of keyboard shortcuts for the Mozilla Firefox browser. The page also lists the equivalent shortcuts for Internet Explorer and Opera.

Get Firefox!

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!

Currently Reading…

Neal Stephenson: "The Order of the World" - the 3rd part of the baroque cycle triology.

Douglas Coupland, "Life After God".

"Scottish Commander" by Peter Reese.

Michael Connelly, "The Poet". Do visit Connelly's website which contains interesting bits and pieces, including an interview with Harry Bosch and "lost" chapters from The Last Coyote and Angels Flight.

Anthony Swofford's "Jarhead" - now a motion picture!

"A Short History of Nearly Everything" by Bill Bryson: How did we get here?

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

Back In Business…

So, I have put my little home page/blogging application back into circulation - a bit later than expected. When I took gersbo.net offline in late July - due to our move to the new (first!) house - I figured I would have it back online in late September. As you can gather from the time stamp of this entry, things did not work out that way.The delay was in part due to the time it took to transfer our cable connection from the appartment to the house, but the main bottleneck has really been me. I did not realize the amount of work that comes along with being the proud owner of a (old) house! The summer went by in a blitz with us fixing the interior of the house. All of a sudden the days with long hours of daylight were gone and I found myself frantically going from room to room putting in lighting. Only to find out that I really should get started on the exterior of the house, before the cold sets in. So for the past two weeks, I have been re-plastering parts of the exterior of the house with new mortar. In a great hurry, since the mortar needs 28 days at a temperature above 5 degrees celcius to harden properly (which I might just make). This mortar business is not an easy task if you ask me: it is difficult to apply the mortar and it is even more difficult to mix the mortar in the right way. Too wet or too dry, the mortar will not be sufficiently strong and it will be even more difficult to apply. I will not even mention the damage I have been doing to my frail typist's wrists.

Another reason for me to put off going online is the change in network topology that came with moving to the house. Here, the cable connection enters the house in a room that is quite far (it is a large basement) from the office in which I get to keep my extensive collection of computers. I have been meaning to avoid long cables running all through the house by extending our existing wireless network. My grand plan was to provide wireless coverage to the whole house from the basement room with the cable connection and use a second router/AP as a wireless bridge to my office/control/geek center. The first part of the plan is implemented, but I have not been able to get the wireless bridge working. Tonight, I decided that I really need this log for my PhD work and thus bit the bullet: I have put up a very long cable to hook up my server machine with the primary router. I have left the wireless bridge thing as an excercise for myself, once time permits.

That done, all I am left with is a lot of adding and updating to do. While being offline, I have been jotting down stuff and bits & pieces in other places and I really should get this stuff up here…

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