Hello from Typo 4.0!
01 Aug 2006 {View Comments}
Just upgraded to the recently released version of Typo that blogging engine I use, written in Ruby on Rails of course. Quite a swift and painless process, thanks to some prior preparation! While I was upgrading I couldn’t help think I should possibly turn this into a capistrano recipe it would speed up upgrading to the next version. So maybe more on that later.
Quick guide for upgrading from typo 2.6 to 4.0
-
Make a backup copy of your database ( because we all know that shit happens )
-
Login to your server via ssh
-
Check out the latest version of typo to wherever you stash your sites
svn co svn://typosphere.org/typo/tags/release\_4\_0\_0 typo -
Copy database.yml.example to database.yml and add the right login info
-
Change the shebang lines for your dispatcher scripts
-
Copy your custom theme from the current typo dirctory to this one. (I like to keep my theme in a repository of it’s own so i can easily check it out on a new install)
-
Stop the ruby processes (and server if appropriate)
-
run the command
rake environment RAILS_ENV=production migrate -
Move the current directory to a backup and then change the name of the freshly checked out copy to what you had before.
-
Restart your server and hey presto! you should be up and running.