MovableType and Mac.com

MovableType users can publish to Mac.com. The pages are static, so no CGI, but you can retain your blog interface and keep your style sheets. Here are basic instructions.

This is work in progress, and I’ll correct, edit, and update as time permits.

I plan to post detailed instructions for the latest version of MovableType as soon as I acquire a license, but here are the basic instructions to install version 2.6xxx.

1. Install MovableType on your Mac. Follow the directions. The app will be un-tarred into /Library/WebServer/CGI-Executables/mt and /Library/WebServer/ and the static files will be un-tarred into /Library/Webserver/Documents/mt. This lets me run MT from http://mycomputer.local/cgi-bin/mt.

2. From Safari, enter URL http://.local/cgi-bin/mt/mt-check.cgi to see what modules are already installed.

2a. As far as the database, I am using BerkleyDB which comes with MT, so I don’t need to create an SQL database. Since all data files reside on the Mac, I will hold off on the network and security advantages SQL has to offer. If you decide to use BDB, you will need to create a folder, say in your Document folder, to keep the databases and indicate its path in mt.cfg

2b. Except for ImageMagick, it appears that most of the PERL modules already come with MT 2.6xx. I don’t think I can use ImageMagick, so I won’t install that.

3. If all is well, use Safari to open http://.local/cgi-bin/mt/mt.cgi following the instructions provided with Movabletype.

4. From MovableType, configure your blog as follows:
Local Site Path: /Users//Sites/mt
Site URL: http://homepage.mac.com//mt
Local Archive Path: /Users//Sites/mt/archives
Site Archvie URL: http://homepage.mac.com//mt/archives/

5. You should be set to go. After you build or rebuild your site, you’ll need to upload the site directory to iDisk (which you must do before you can properly view it).

5a. Mount your iDisk volume
5b. From the Terminal program: rsync -rutv –delete ~/Sites/mt /Volumes//Sites

6. You are not ready to view your site.

Other odds and ends…

You may want to occasionally backup up your database. Either create a zip file or rsync it to a folder in your iDisk. So far, I haven’t figured out the best way to write to the iDisk backup folder. I don’t even know if that is prudent.
To post pictures, you can either link to a Mac.com photo album or create an image folder in your local Sites/mt/archive directory and link accordingly.

This entry was posted in Technology. Bookmark the permalink.