
As I mentioned in a previous post, a new version of Typo is available. I upgraded this evening, and here’s the steps that I followed.
- Check out the latest version from the SVN repository:
$ svn co http://svn.typosphere.org/typo/trunk typo-4.1.1
- Copy over my old
.htaccessfile:
$ cp ~/typo-4.0.3/public/.htaccess ~/typo-4.1.1/public
- Copy over my old
database.yml:
$ cp ~/typo-4.0.3/config/database.yml ~/typo-4.1.1/config/database.yml
- Update the database schema
mysql> select * from schema_info;
+---------+
| version |
+---------+
| 50 |
+---------+
1 row in set (0.00 sec)
$ cd ~/typo-4.1.1
$ rake db:migrate
mysql> select * from schema_info;
+---------+
| version |
+---------+
| 63 |
+---------+
1 row in set (0.00 sec)
- Copy over my theme:
$ cd ~/typo-4.1.1/themes
$ tar zxvf ~/typo-4.0.3/themes/ghostpaper.tgz
- Copy over my uploaded files:
$ cd ~/typo-4.1.1/public
$ cp -r ~/typo-4.0.3/public/files .
You might notice the absence of a backup step at the start of this process. I n general the db:migrate action appears to be very robust and trustworth. However, I have a scheduled backup of my DB anyway, so I didn’t need to do it explicitly. However, I would certainly recommend it as a first step.
Total time – about 30 minutes. Not too bad.
Thoughts? On first blush, it certainly appears to be snappier than 4.0.3. The other noticeable change is an improved admin interface. So far so good – looks like a worthwhile upgrade. Recommended.
Tags: rails · typoNo Comments