June 2008 Archives

Update: I’ve placed this upgrade script on the wiki, a better place for more people to enjoy and collaborate: wiki.movabletype.org/MT_Shell_Script_Installer

Automation is awesome! This script I use to set up a new MT instance probably saves me 15-20 hours a year, that 2-3 workdays.

I use the below shell script to:

  • checkout target release of MT
  • checkout addons (Packs [ProPack, MTCS, Enterprise], static files, & Tristan Theme)
  • checkout addons themes (Tristan
  • issue make
  • set up a static directory for the release
  • set permissions
  • create a mt-config.cgi file
  • and finally… open the release in TextMate

Getting FastCGI configured and running can be a pain. There are FastCGI instructions on MovableType.org, but the page is so long that it looks kinda daunting.

Strangecode has got FastCGI enabled for all hosting accounts. So after installing Movable Type all I had to do to was the following two steps:

  1. Create symlinks to the primary MT scripts with names ending in .fcgi.

    $ cd /PATH/TO/MT
    $ for F in mt{,-comments,-search,-tb}.cgi; do ln -s $F $(basename $F .cgi).fcgi; done
    
  2. Add these lines to mt-config.cgi.

    AdminScript mt.fcgi
    CommentScript mt-comments.fcgi
    SearchScript mt-search.fcgi
    TrackbackScript mt-tb.fcgi
    

About this Archive

This page is an archive of entries from June 2008 listed from newest to oldest.

May 2008 is the previous archive.

September 2008 is the next archive.

Find recent content on the main index or look in the archives to find all content.

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.21-en