Doctor Geek/Nerd

View Original

Turning the Raspberry Pi into a Web Server

Project Type: Raspberry Pi, Python
Software: Text Editor or Python ILDE, Flask
OS: Raspian
Kits/Part Source: Raspberry Pi B Starter Kit
Project Source: Getting Started with Raspberry Pi by Matt Richardson and Shawn Wallace

This project uses Python to turn the Raspberry Pi into a super simple web server.

1-10 Ratings

IKEA Rating - 10
Surprisingly simple to do. The book explains what each line of python code is doing.

Tony Stark Rating - 0
The book talks the reader through everything. No special skills needed for this one.

Mr. Wizard Rating - 10
The book covers the installation of the Flask, which is the the Python Frame work needed to make the project work.

Using Flask to turn the Pi into a WebServer

Webpage Created by the Pi

The book also covers how to make and use Web Templates for the render_template function.

Template created with Python and HTML

Template viewed through a browser