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

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

WordPress and MAMP

934
views

Published on

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

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
934
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Wordpress and Mamp
    Jim Raffel
    CEO ColorMetrix
    and
    Inspirational Small Business Story Teller
    at Jim Raffel.com
  • 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
    http://www.mamp.info/en/index.html
    Free is fine probably no need for PRO
  • 5. Installing WordPress
    Recommend svncd /applications/MAMP/htdocsmkdir blogcd blogsvn co http://core.svn.wordpress.org/tags/3.2.1 .
    Detailed info here:http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion
  • 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 //blogname.com 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
    http://JimRaffel.com
    Twitter: @raffel
    jim@jimraffel.com
    http://ColorMetrix.com
    Twitter @ColorMetrix
    raffelj@colormetrix.com
    Cell Phone: 414-732-6954