Your SlideShare is downloading. ×
Set up dev environment
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Set up dev environment

3,200
views

Published on

How to set up a local WordPress Development Environment with MAMP / WAMP / or XAMPP

How to set up a local WordPress Development Environment with MAMP / WAMP / or XAMPP

Published in: Technology, Business

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

No Downloads
Views
Total Views
3,200
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
44
Comments
0
Likes
2
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
  • http://www.icoursesottawa.com
  • http://www.icoursesottawa.com
  • http://www.icoursesottawa.com
  • http://www.icoursesottawa.com
  • http://www.icoursesottawa.com
  • http://www.icoursesottawa.com
  • http://www.icoursesottawa.com
  • http://www.icoursesottawa.com
  • http://www.icoursesottawa.com
  • Transcript

    • 1. Setting up a Local Test Environment by David Cook iCourses-Ottawa http://www.icoursesottawa.com
    • 2. Agenda
      • Introduction
      • Why You Want a Development Environment
      • Requirements for a Development Environment
      • MAMP / WAMP / XAMPP Intro
      • MAMP / WordPress Install
      • WAMP / WordPress Install
      • XAMPP / WordPress Install
      • Migration from Development Environment to Live Environment Solutions
      • Questions
    • 3. Why You Want a Development Environment
      • Experimenting with New Features
      • Plugin Testing
      • Theme Testing
      • Plugin Design
      • Theme Design
      • Work-Offline
      • Client Review
      • Just Playing
      • Development & Migration
    • 4. Requirements for Local Development Environment
      • Install a local Server
      • (Mac: MAMP PC: XAMPP or WAMP)
      • Create a new Database
      • Download WordPress and extract new files.
      • Rename the wp-config-sample.php file to wp-config.php and update database details
      • Run wp--admin/install.php and follow WP install instructions.
    • 5. MAMP / WAMP / XAMPP Intro
      • M – Mac W - Windows
      • A – Apache Server A – Apache Server
      • M – MySQL M – MySQL
      • P – PHP P – PHP
      • X – X86 Machine (Mac/PC/Linux)
      • A – Apache Server
      • M – MySQL
      • P – PHP
      • P – Perl
    • 6. MAMP / WordPress Install
      • http://www.mamp.info/en/index.html
      • http://wordpress.org/
    • 7.
      • Should See:
      • Apache – 8888
      • MySQL – 8889
      http://www.icoursesottawa.com
    • 8.
      • Click on the MySQL Tab
      • Click on Launch phpMyAdmin
      http://www.icoursesottawa.com
    • 9.
      • Create a new database called “wordpress”
      • Click on create
    • 10. Open the wp-config-sample.php file with your favorite editor
    • 11. Change DB_NAME to “ wordpress”Test Change DB_USER to “root” Change DB_PASSWORD to “root” Change DB_HOST to localhost:8889 Save as wp-config.php then drag it into the WordPress folder Delete wp-config-sample.php
    • 12. Go to Applications Go to MAMP Open htdocs Copy your Unzipped WordPress file In Safari go to http://localhost:8888/wordpress/wp-admin/install.php
    • 13. Enter Your Blog Title & Email WordPress will give you your admin and password Copy your Password and click login Put in your username and password Finished!
    • 14. WAMP / WordPress Install
      • http://www.wampserver.com/en/
      • http://wordpress.org/
    • 15. Install WAMPServer
      • Install the WAMPServer by clicking on the .exe file
      • Click on run
      • Click “yes” to upgrade/clean up install
      • Click “next” after you “accept the agreement”
      • Click next (to use default installation folder)
      • Click next (check boxes as desired)
      • Click “yes” to select browser discovered
      • Leave Localhost in SMTP and insert your email address, click next
      • Click Finish
      http://www.icoursesottawa.com
    • 16.
      • Download WordPress at http://wordpress.org/download/
      • Left click on the semicircle on your taskbar.
      • Open up the www directory.
      • Drag the WordPress folder into the www directory.
    • 17.
      • Open PHPmyadmin from your wamp menu
      • Create a new Database ( ‘wordpress‘ or ‘blog‘ are good). Leave Collation. Click Create.
      • Click Go .
    • 18. Change DB_NAME to “ wordpress”Test Change DB_USER to “root” Change DB_PASSWORD to “” Change DB_HOST to “ localhost: ” Save as wp-config.php then drag it into the WordPress folder Delete wp-config-sample.php
    • 19.
      • Put WordPress files in the root directory in the www directory folder.
      • Change index file to indexWAMP.php
      • Go to http://localhost/wp-admin/install.php
      • Follow install steps
    • 20. Enter Your Blog Title & Email WordPress will give you your admin and password Copy your Password and click login Put in your username and password Finished!
    • 21. XAMPP / WordPress Install
      • http://www.apachefriends.org/en/xampp.html
      • http://wordpress.org/
    • 22. On Win 7, make sure you download the installer. I had problems with the zip files.
    • 23. Double Click on the installer from your downloads file
    • 24. Press OK here
    • 25. Install
    • 26. Click on the control panel. Start the Apache Server Start the MySql
    • 27. Create new DB called “ wordpress_db ”
    • 28. Create New User called “ wordpress_user ” Give a password (remember the password!!!)
    • 29.  
    • 30. define('DB_NAME', 'wordpress_db'); define('DB_USER', 'wordpress_user'); define('DB_PASSWORD', 'typeyourpasswordhere'); define('DB_HOST', 'localhost'); Save as wp-config.php then drag it into the WordPress folder Delete wp-config-sample.php
    • 31.
      • Put WordPress files in the root directory in the htdocs directory folder.
      • Go http://localhost/wordpress/wp-admin/install.php
      • Follow install steps
    • 32. Enter Your Blog Title & Email WordPress will give you your admin and password Copy your Password and click login Put in your username and password Finished!
    • 33. Migration to a Live Environment
      • Backup everything
      • Change Dev URL
      • Export WordPress DB
      • Upload Local WordPress files to Live Site
      • Login to your cPanel, go to MySql, Create DB
      • Change wp-config.php information.
      • Add WP Database, Create new user w/all privileges
      • Upload your exported WP DB with PHPmyadmin.
      • Excellent detailed video on the process here:
      • http://www.youtube.com/watch?v=cM9Z8aQTCvQ
    • 34. QUESTIONS David Cook iCourses-Ottawa http://www.icoursesottawa.com