Today we will learn how to setup the WordPress Development Environment, so we can start build our WordPress Theme. For our WordPress development environment we will need:
A local server
We will need a local server to install the WordPress locally, so that we way we can have all the features of WordPress.
What local server we recommend?
Exist two local servers that we recommend:
If you need any help setting up the local server just say in the comments.
Before we start developing our WordPress theme we need install the WordPress locally. You can download it here.
After we download it, open your local server folder and find the htdocs folder. When you found it uncompress the WordPress file to this folder.
Once that is done start your local server, and visit localhost/wordpress.
Step by Step WordPress Installation
1 – Select WordPress Language
The first think on every WordPress installation is setting up the language, set the language you must use and are familiar with. We will use “English (United States)“, after you have choose click “Continue“.
2 – Set Database Information
First we will need create a database in phpMyAdmin, named wordpress.
Now we have created our database, we need to set our database name, username and password.
We recommend you to use:
Database Username: wordpress Username: root Password: root //if you use MAMP or Password: //if you use XAMMP Database Host: localhost Table Prefix: wp_
Setting Database Name, Username, Password, Database Host and Table Prefix:
Once that is done press “Submit“.
If you follow all steps right this message should appear, click “Run Installation“.
3 – Configure Website Information
When we install WordPress we need to set some site settings like:
- Site Title;
- Username (So we can access to our wordpress panel);
- Password (To keep our work safe);
We need to discourage the search engines index this site so select the checkbox:
Follow all the steps of the image:
Select your own username and password identity.
After you have chosen all your website information click “Install WordPress“.
Once that is done a Successful Message would appear:
4 – Access Admin Panel
Now we have installed WordPress we can login into the WordPress admin panel. Use the username and password creadentials that you have defined in Step 3.
Congratulations You Have Installed WordPress Successfully!
See you in next class!
- How to Create WordPress Theme – Introduction
- How to Setup the WordPress Development Environment
- How to Create WordPress Theme – Part 1
- How to Create WordPress Theme – Part 2
Do you have any doubt? Please feel free to comment it bellow, we will answer it!