Setting up a Local Server

In order for us to start creating our WordPress theme, first we need a development environment to create it in. The easiest way to do this is through a Bitnami Stack. You can find the download here. You can either get the WordPress stack that already has wordpress installed, but if you want to create more than just this one wordpress site, it’s best to just get the *AMP stack that correlates with your operating system. So that mean WAMP for windows, MAMP for Mac, and LAMP for Linux.

Once you have that installed, you’ll need to grab the wordpress files from These will need to go into the htdocs folder located in the apache2 folder. You can copy the whole folder over.

Next, you’ll need to get the database ready for the WordPress installation. I personally like to create a user specifically for the database I’m creating, just so it’s a little more secure. The easiest way to do this is create everything through phpmyadmin.

If you followed the basic instructions for installing your bitnami stack, you should be able to go to localhost:8080 on your browser and get to the Bitnami welcome screen. From there, click Applications, and then in the phpmyadmin box, click Access. Here you’ll type in the root password you created in the bitnami setup. Once logged in just click on users and create new. Fill everything out, making sure you select local as the host. Next, make sure you check the box that says create a database with the same name, and the Grant all permissions on the wildcard. Remember your password, you’ll need it in the next step.

Finally, run the WordPress install. Go to localhost:8080/wordpress and you should be prompted to start the install, fill out the forms and you’ll end up at the WordPress dashboard. Congrats, we’re all setup!

Bonus, You’ll need a plaintext editor. I use atom from github, you can get it Really you can use any plain text editor like Sublime or Notepad++. Once you have that installed you should be able to open all the php files within the WordPress file system.

Leave a Reply