default userpic

Development/staging setup?

Vote 0 Votes

Hi,

I'm a long time MT user, but I find the site development process to be cumbersome, and I wondered if anyone had a better suggestion.

I have two MT-powered sites, and I'd like a good way to develop changes to my pages and design, debug them on my laptop environment, and push them live. Here's what I do now:

  1. I make the change to the MT template, using TextMate or Dreamweaver.
  2. I reload the template's page in MT to get the change, then I re-publish the site locally.
  3. I check the change to make sure it looks OK.
  4. Repeat 2-3 dozens of times over the course of changing the site.
  5. FTP the templates to my live site.
  6. Republish the live site to apply the changes from the new templates.

Steps 2-3 take a long time. I'd much rather just change the template, refresh the page in the browser, and have MT get the change, without me having to reload the page in the MT browser client.

Then there's the trouble of replicating everything from the local site on the live site--linking the right template in MT to the right file on the filesystem, having the output files match, having the widgets all work right, etc etc.

What do y'all do to streamline your development process?

Many thanks!

Reported on Movable Type 4.2

2 Replies

| Add a Reply
  • First, with 4.2, you can use the Template Preview button to get a look.

    However, for design related changes, I often visit the existing published page and save a copy of that locally. I work on that--editing the rendered HTML/CSS/JS/whatever--to get what I want. Then I transplant those changes into the MT template, and republish.

    Of course, that approach depends upon the kind of changes you want to make--however I think it's typically a good approach unless making major changes. Even adding widgets (or whatever) that you need MT to publish something for, knowing that I've got the HTML/CSS how I need it (with dummy text) makes it easier to get working once I fill in the MT template tags.

  • I don't really modify them much, but I do port a lot of styles over from WordPress (http://www.codemonkeyramblings.com/themes/ if you are interested). What I do is I have an export file that contains only about 3-4 entries in it that test various HTML features like blockquotes, so that when I rebuild the site it doesn't take long at all. If you want, I can post the export file that I use for template testing, or you can just import a subset of whatever blog you are working on into a development installation of Movable Type.

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1773 6162

Last Topic: Excluding categories from blog by kholechek on Feb 9, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1429 5077

Last Topic: What apocalypse hit this community in the middle of 2011? by 75th on Feb 10, 2012

695 2910

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

173 737

Last Topic: About the MT version stated in HTML source by Alex E. Schneider on Feb 7, 2012

190 567

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012