MAMP, Coda and BeanStalk: Workflow upgrade

After playing around on the workflow for a bit I have settled on a setup that I’m more happy with. Previously I was simply editing files and ftping them to the live site, a bad setup to say the least. The new setup allows me to edit and preview the site locally using MAMP, commit changes to my SVN repository on BeanStalk and when ready publish the site using Coda. Below the necessary steps taken to achieve this setup are laid out:

1.Setup MAMP

The first step involved downloading the free version of  MAMP, installing it  and running it. The process was a synch and the  I only changed two settings:

  • In the Apache tab I changed the Document root to /Users/my_user_account/Sites
  • In the Start/Stop tab I unchecked the ‘Check for MAMP pro when starting MAMP’ box.

2.Add multiple site support to MAMP

  • First,  I made a folder  /Users/my_user_account/Sites/, where is the new folder that will hold my local copy of the site.
  • Next I changed /private/etc hosts/ to include the name I wanted to use to access this new local copy of the site.
  •  Next I added a virtual host by editing /Applications/MAMP/conf/apache/httpd.conf. This ensures that the local site  uses  the correct root. The full instructions can be found on Brocks blog post .

3.Setup Beanstalk account and import old site

This was a relatively straight forward step. Beanstalk offer a free SVN account so its perfect for my uses, I imported a zip of my current site to the root and had to delete some of the Mac system files that came along for the ride. There is a good video tutorial for this, even if it is a little drawn out for my tastes.

4.Setup Coda

I Installed Coda, added a Site and changed the settings for the site:

  •  I set the local site to be the empty folder from step 2.
  • I set the  the local preview URL to be the address I put in the hosts and http.conf file in step 2, in this case.
  • Next I entered the details from  the BeanStalk SVN account from step 3 and a copy of  the site got downloaded from the SVN to my new local, previewable copy.
  •  Finally, I entered the settings for the ftp account, available from my web hosting company. Its worth noting that in my case I had to use the /webspace/httpdocs/ subdirectory in my ftp url  for it to work.


I tested the setup and I’m able to commit changes to my repository to my hearts content and only publish when I’m ready. I have yet to test a roll back but I’m sure I will have too soon enough:)

6. Versioning  History

Mac version 10.6.8

Coda version 1.7.4 –

MAMP version 2.0.5 –

BeanStalk –


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s