Raspberry Pi: Full Stack

Raspberry Pi: Full Stack
Raspberry Pi: Full Stack
English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 8 Hours | 2.73 GB

A whirlwind tour of full-stack web application development on the Raspberry Pi

The objective of this course is to take you to a whirlwind tour of the Raspberry Pi, and introduce you to everything that is great about it.

Structured as a project, you will become familiar with the various components that make up the web development stack: the operating system, the hardware (including the GPIOs), the application server, web server, database server, and the Python programming language.

You will also become familiar with Cloud services that you will integrate into your Raspberry Pi-powered web application.

You application will take sensor data and make them available to the user via a web interface that is constructed based on jQuery and HTML5.

You will need a Raspberry Pi, a DHT22 sensor, a button, an LED, a few resistors and a breadboard. If you wish to setup wireless networking on your Raspberry Pi, you will also need a USB Wifi dongle.

To make the most from this course, you should be familiar with basic programming and be comfortable with the command line.

Table of Contents

Introduction to the course
1 Introduction
2 About the Raspberry Pi
3 Components
4 Please read this before continuing

The Operating System
5 Section Introduction
6 How to extract a tar.gz file
7 Installing mini Raspbian using Mac OS X
8 Installing mini Raspbian using Windows
9 Section Conclusion

Python and GPIOs
10 Section Introduction
11 Setup Python
12 GPIO basics
13 Make an LED blink
14 Read the status of a button
15 Read temperature and humidity from a digital sensor
16 Section Conclusion

Setup the Web application stack
17 Section Introduction
18 What is the Web application stack
19 Install Nginx the Web server
20 Install Flask and venv
21 Install uWSGI
22 Setup Upstart
23 About log files
24 Serving static assets and Skeleton
25 Styling our Web application with Skeleton
26 Debugging a Flask application
27 Section Conclusion

Building a simple Flask application on the Raspberry Pi
28 Section Intro
29 Show DHT22 sensor data in the browser
30 Install the SQLite3 database
31 Use a Python script to store sensor reading to the database
32 Automate sensor data logging with cron and SQLite3
33 Show historical sensor data in the browser
34 Section Conclusion

Improving our application with date-time range record selector
35 Section Introduction
36 Selecting historical sensor data records with a time-date range
37 Define a date-time range in the URL
38 Timezones in Rasbian
39 Validating timestamps
40 Tidying up refactor our application code
41 Section Conclusion

Improving the user interface
42 Section Introduction
43 Adding date range radio buttons
44 Visualise sensor data with Google Charts
45 Install a datetime picker widgets
46 Setting up the datetime picker widget
47 Setting up time zones on the client side
48 Setting up time zones on the server side
49 Link the two pages of the application
50 Section Conclusion

Setup cloud charting and analysis with Plotly
51 Section Introduction
52 Setup Plotly
53 Add Plotly links
54 Add Plotly support to the Flask application script
55 Section Conclusion

Other useful things to know
56 Install and configure a Wifi USB dongle for wireless networking
57 Quick setup guide for Nginx uwsgi and Upstart Part 1
58 Quick setup guide for Nginx uwsgi and Upstart Part 2

Conclusion
59 Conclusion
60 Other educational content from Peter including coupon offers