Thu, 03 Aug 2006

Typo 4 Upgrade

Posted by Ben Thu, 03 Aug 2006 22:13:32 GMT

Finally got round to upgrading to Typo 4 (you may have noticed the theme changed again).

Initially I had a problem with the new Typo gem (installing on a Debian server). This was caused by the sqlite3 gem dependency and was resolved quite simply.

Building native extensions.  This could take a while...
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Requires the sqlite3 development headers, which were an apt-get command away.

apt-get install sqlite3 sqlite3-ruby libsqlite3-dev
gem install sqlite3-ruby

Install Typo 4

gem install typo
mysqldump <typo_db_name> -uusername -p > backup.sql
mv /old/blog/location /old/blog_bak
typo install /your/path

Copy over database.yml to new location (and also .htaccess file), then update the database.

rake migrate

Restart the webserver and voila.

Trackbacks

Use the following link to trackback from your own site:
http://www.slashdotdash.net/articles/trackback/76

Comments

Leave a response

Comments