Successfully migrated to Typo 4.0.0 on Dreamhost

Posted by labrat

Basically, I followed instructions at the link below. All I did was log into the dreamhost server with ssh, created some temporary directory and typed the following.
svn co svn://typosphere.org/typo/trunk
Then I copied my previous database.yml into 4.0.0's config folder then renamed the checked out copy to occupy the space for the previous directory folder I had Typo 2.6.0 on (after deleting the old one). Didn't even bother to back it up. Then I ran "rake migrate" and now here I am with a brand spanking new Typo 4.0.0. Of course, all the cool kids are running Mephisto now. Just a quick stat comparison of the latest repositories. Mephisto: +----------------------+-------+-------+---------+---------+-----+-------+ | Name | Lines | LOC | Classes | Methods | M/C | LOC/M | +----------------------+-------+-------+---------+---------+-----+-------+ | Helpers | 115 | 100 | 0 | 14 | 0 | 5 | | Controllers | 740 | 619 | 19 | 78 | 4 | 5 | | Components | 0 | 0 | 0 | 0 | 0 | 0 | | Functional tests | 1129 | 910 | 34 | 146 | 4 | 4 | | Models | 619 | 505 | 13 | 85 | 6 | 3 | | Unit tests | 720 | 593 | 13 | 99 | 7 | 3 | | Libraries | 830 | 594 | 16 | 70 | 4 | 6 | | Integration tests | 160 | 112 | 1 | 11 | 11 | 8 | +----------------------+-------+-------+---------+---------+-----+-------+ | Total | 4313 | 3433 | 96 | 503 | 5 | 4 | +----------------------+-------+-------+---------+---------+-----+-------+ Code LOC: 1818 Test LOC: 1615 Code to Test Ratio: 1:0.9 Typo: +----------------------+-------+-------+---------+---------+-----+-------+ | Name | Lines | LOC | Classes | Methods | M/C | LOC/M | +----------------------+-------+-------+---------+---------+-----+-------+ | Helpers | 532 | 428 | 0 | 76 | 0 | 3 | | Controllers | 1661 | 1354 | 27 | 185 | 6 | 5 | | APIs | 467 | 378 | 17 | 27 | 1 | 12 | | Components | 788 | 628 | 33 | 41 | 1 | 13 | | Functional tests | 2570 | 1951 | 43 | 263 | 6 | 5 | | Models | 2666 | 2040 | 56 | 305 | 5 | 4 | | Unit tests | 2036 | 1567 | 32 | 184 | 5 | 6 | | Libraries | 1270 | 862 | 26 | 134 | 5 | 4 | +----------------------+-------+-------+---------+---------+-----+-------+ | Total | 11990 | 9208 | 234 | 1215 | 5 | 5 | +----------------------+-------+-------+---------+---------+-----+-------+ Code LOC: 5690 Test LOC: 3518 Code to Test Ratio: 1:0.6 There's quite a lot of debate regarding whether Typo's initial success was the cause of its demise (feature/code bloat). With the official rails blog migrating to typo, you could say that Mephisto will probably be on the cutting edge and take a different approach to blogging. With someone dedicated like Rick Olson, it's bound to show some promise. Still, I like typo and it's relatively easy to install and stable. Plus, the code is a handy resource to learn about rails as well. Now that we've got spam protection in typo I look forward to not touching my blog settings for quite a while to come regardless of whatever blogging revolution is out there. Although the competition will push both products to greater heights, I can't help but think there must be better applications deserving some rails love than blogging engines alone. It would be nice to see a BBS system done by somebody next.

Upgrading Typo and Rails

Comments

Leave a response

Comment