![]() Create a New DatabaseĪfter you’ve installed MAMP, run it and it should take you to the start page. ![]() I’m using Mac here, so I’m going to install MAMP. In order to run any PHP/database application on a local computer, you need a local host (ie. Run wp-admin/install.php and follow the instructions to install WordPress.īefore you start, let’s look at the requirements to run WordPress: Rename the wp-config-sample.php file to wp-config.php and update the database details according to your local server. Install a local server ( Mac: MAMP, PC: XAMPP or WAMP).ĭownload WordPress from and extract the files to a new folder under the htdocs folder. Here are the simplified steps on how to install WordPress on a local computer: If you have some technical background, you can skip the detailed steps in this tutorial. This tutorial is intended for beginners who want to learn how to run WordPress locally. You can also use the local version to test new plugins, themes, and upgrades. By doing so, it will save you time from updating and previewing files (so, you don’t have to frequently upload files on every change). In this chapter, you will learn how to install WordPress on a local computer. Grab a beer and enjoy.This is the first chapter of the Complete WordPress Theme Guide series. Run the installation, and enter the requested information: Grab a beer. If everything was entered correctly, you will see the following screen: You will now select the language for your site/admin:įill in your database name and other fields. You can leave the host and table prefix as they are. The username and password when installing WordPress locally via MAMP will both be root. You will need the database name – the name you gave your database in the previous step. You will now see the welcome screen for the WordPress installation. Go to your browser and enter (the name you named your folder). Luckily, this is a simple few-clicks-type-of installation. The only thing left to do is to install WordPress. We will access phpMyAdmin by entering the following URL in our browser: Now we will click the DATABASES link:Įnter the database name (your-project-database or something similar) and click Create. We will create a MySQL database and use phpMyAdmin to create and work with it. In order to run and use WordPress successfully we need a database. zip and copy them to the folder (which carries the name of your project) you set as your directory root in the previous step. Navigate to and download the latest version of WordPress. When we download WordPress, we will copy it to THIS folder. Now we will go to the MAMP again, and select the folder we just created as our DOCUMENT ROOT by clicking “Choose” and navigating to our folder. Right-click -> New folder or if you are using the Terminal mkdir folder-name and enter. Now you need to create a folder where we will add our site. If you are not sure what this means, just leave the default ports. Once you have downloaded and installed MAMP, you have to turn on the server by pressing the ON button icon and it will open the default page/screen at You can change the ports by clicking the PREFERENCES icon in MAMP. Navigate to the MAMP website, download the MAC free version and then install it as you would with any other Application (program) on a macOS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |