Setup Raspberry Pi as a web server Part: I

August 31, 2018

When I was tasked with developing a proof of concept for the Standard Code Art Project, it only took me a second to think of how I was going to approach the challenge. Our objective was to show that we could control LED's that were connected to the Pi remotely. My plan was to set up the Pi as a web server running an app with a single POST endpoint that would then interface with the GPIO, and in turn the LED. The first step to this process was to get the Raspberry Pi to boot up. I needed an operating system. I used Raspbian, which is a ported version of the Linux distro Debian Wheezy. I think it's the best way to start because out of the box it's pretty much ready to go for you. Raspbian is also the operating system that the Raspberry Pi Foundation officially supports. You can download it here. While you are there, check out the link on the page for installing the image. I also used this post as a reference when doing it for the first time. The point of projects like this is to learn. If you struggle with this step, keep researching. A quick google search for how to install raspbian returns a plethora of resources. The next step after you have Raspbian running will be setting up the WIFI and downloading software to set up your development environment. Because I don't want to miss anything, I'll cover that step in a future post.