Next lesson playing in 5 seconds

  • Overview
  • Transcript

3.1 Set Up a Local WordPress Install

In this lesson, we’ll set up a local WordPress install to begin working with the WP REST API plugin. We will install the REST API plugin, the JSON Basic Auth plugin, and finally the WordPress Demo Data Creator plugin to populate some demo data.

Related Links

3.1 Set Up a Local WordPress Install

Hey folks and event come back to the course introducing the W.P REST API. I'm Ileserta Habil Alshahid. Before we begin working the WP REST API plugin we'll need to set up the proper working environment and we will do that in the current lesson. In this lesson we will install the plug-in on a fresh WordPress install and populate it with some demo data. We would also install the basic authentication plug-in that we will need in the future lessons when performing cloud operations. So here I am inside a fresh WordPress installed, and the very first thing we need to make sure when using the plug-in is that our site is using peer deeper and we can check that by going to the settings and then permalinks menu On this page we need to make sure that anything other than this pane option is selected, so I'll select this post name option. And update the permalink structure by clicking on the save changes button. So the Permalink structure has been updated successfully to be used with the WP SJPI. Next, we need to install the WP SJP plugin. This can be done in either of two ways. If you have Get installed on your system you can clone the plugin directly from depository. Or you can install it from within the W.P. admin by going to the plugins and then add new menu. On this page, search for the term WordPress rest API, and install this very first plugin by the WP REST API Team. And now, activity plugin by clicking on this activate plugin link. Next we need to install the basic authentication plugin, by going to a skid up repository, and then either cloning the plugin, by Get, orr by downloading the package by clicking on this downloads button. After having downloaded the package, extract the package in your plugins folder, and the plugin entry will appear here by the name JSON Basic Authentication. The last thing we need to do is to install the Demo Data Creator plugin. We can search for it and install it in the same way, search for the term Demo Data Creator. And then install this very first plugin by Chris Taylor. And now that the demo data creator has been installed, we can populate some demo data by going to tools, and then demo data creator page. Here we can populate the demo data by specifying these options. And demo data has been created successfully. You can check it by going to their respective pages. So here we have some demo posts. Here we have categories. Comments. And finally we have some demo users. Great. So let's now install the Postman Client so we could work with this demo data, and we will do that in the very next video.

Back to the top