1. Install XAMPP
- Download XAMPP in C:\ - https://www.apachefriends.org/
- Start Apache and MySQL in XAMPP Control Panel
- ensure port 3306 not used (if you installed MySQL previously)
- If MySQL keeps stopping, try:
- go to
mysql
folder - rename
data
folder asdataold
, copy the folder and rename the copy asdata
- copy database folders from
dataold
todata
- copy log files from
dataold
todata
- restart server in control panel
- go to
2. Create local WordPress site
- Set up local project folder
- download WordPress core (https://wordpress.org/download/)
- extract wordpress folder into C:\xampp\htdocs
- copy "wordpress" folder
- rename folder as project name (e.g., "esprit")
- Connect project to a database
- open xampp control and activate apache and mysql
- click "Admin" next to MySQL
- click "New" (left menu)
- Give database a name and click "Create"
- (one time set up) set username/password
- username is "root"
- leave password blank
- Sign into local Wordpress
- go to http://localhost/``
- choose language
- enter credentials
- username: root
- password: leave empty
- click "Run the installation"
- Input settings
- Site Title
- Username
- Password
- click "Install Wordpress"
- login with username and password chosen above
3. Download your hosted Wordpress website
- go to plugins > add plugin > install and activate "wp all-in-one migration"
- Export and download file
- this requires you have a live WordPress site installed with the WooCommerce Plugin. If you don't have a live site, email jonwayhuang@gmail.com for a file
4. Import above file into the local WordPress core
- Go to http://localhost//wp-admin/. Go to Plugins > add plugin > install and activate "wp all-in-one migration"
- Increase import file site by adding these line to and of .htaccess file (in the project folder) php_value upload_max_filesize 500M php_value post_max_size 500M php_value memory_limit 256M php_value max_execution_time 1800 php_value max_input_time 1800
- In the migration plugin menu, import the file you downloaded in Step 4
5. Install plugin
- Copy and paste the “esprit-woo” folder (in Github) into c:\xampp\htdocs<projectfoldername>\wp-content\plugins