Your SlideShare is downloading. ×
  • Like
WordPress and MAMP
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.


Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

WordPress and MAMP


A presentation about running a WordPress installation on a local Mac with MAMP. Presented for the Milwaukee WordPress Meetup group.

A presentation about running a WordPress installation on a local Mac with MAMP. Presented for the Milwaukee WordPress Meetup group.

Published in Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads


Total Views
On SlideShare
From Embeds
Number of Embeds



Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

    No notes for slide


  • 1. Wordpress and Mamp
    Jim Raffel
    CEO ColorMetrix
    Inspirational Small Business Story Teller
    at Jim
  • 2. A functional WordPress development environment on your local machine.
    The Goal
  • 3. The Method
    Install MAMP
    Install an empty WordPress blog
    Copy and edit your live database
    Copy your live wp-content folder
    Fix all the little things that are broke
  • 4. Installing MAMP
    Free is fine probably no need for PRO
  • 5. Installing WordPress
    Recommend svncd /applications/MAMP/htdocsmkdir blogcd blogsvn co .
    Detailed info here:
  • 6. Installing WordPress (cont)
    Create a blank MySQL database http://localhost/MAMPUtilize phpMyAdmin – it makes life easier
    Navigate to new bloghttp://localhost/blog
    Complete WordPress configuration page
  • 7. Copy and Edit Live Database
    mysqldump to copy$ mysqldump –u [database user name] –p[database user’s password] [database name] > [dump file name].sql
    Move dump file to local machine and editreplace // with //localhost/blog
    Create blank MySQL database
    Import edited dump file /applications/mamp/Library/bin/mysql -u root -proot[database name] < [edited dump file].sql
  • 8. Copy and Edit Live wp-content
    There is where all your plugins, images and other customizations should be.
    I use tarfrom the blog foldertar cvf wp-content.tar wp-content/
    Copy that file to local machine
    Expand the tar file and replace the local wp-content foldertar xvf wp-content.tar
  • 9. Fix all the little things
    Edit wp-config.phpDatabase name and double check table prefix
    Blog should at least now loadhttp://localhost/blog
    Themes can be a mess hereActivate a different theme and then reactivate your premium theme
    Also, I lost most of my widgets
  • 10. An Alternative
    In the past (but it seems broken at the moment) BackupBuddy almost completely automated this process.
    Premium plugin so make sure the feature is working again before paying.
    Probably only makes sense if you are doing this frequently
  • 11. Finding Jim Raffel
    Twitter: @raffel
    Twitter @ColorMetrix
    Cell Phone: 414-732-6954