Homebaked | Raspberry Pi + Django Home Server
4.3 (330 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
43,496 students enrolled

Homebaked | Raspberry Pi + Django Home Server

Build a Home / Local Networked Server with a Django-powered Web application to create a local-network-only app.
4.3 (330 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
43,496 students enrolled
Created by Justin Mitchel
Last updated 11/2016
English [Auto]
Current price: $56.99 Original price: $94.99 Discount: 40% off
3 days left at this price!
30-Day Money-Back Guarantee
This course includes
  • 4 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Local Networked Server using Raspberry Pi 3 Model B
  • Django-powered web application
  • Setup Apache2 on a Linux system (useful for other Linux systems)
  • Create a Home Automation Hub with a Raspberry Pi and Python
  • Install an OS on a Raspberry Pi (OS: Raspbian Jessie; a Linux Debian distro for Pi)
  • Basic Python
  • Basic Django (see first Django Video)
  • Need access to a Home/Local Network (firewalls could cause issues)
  • Recommended Equipment (see video)

We're on the cusp of controlling every item within our house using code, the internet, and a small computer. Microcontrollers are inexpensive computers (like $35 inexpensive) that can be hacked on to create your very own web application for your local network. 

This is huge. Let's not understate this in any measure. You, yes you, can write some basic code and control every electronic piece in your house? That's pretty awesome.

Now, we're still a little ways away before every electronic item is connected to the Internet but once it is, you'll be able to use what you learned here to control these items at will. 

The technology we use is:

  • Raspberry Pi 3 Model B 
  • Django 1.10
  • Python 3
  • Apache2 & mod_wsgi (for the Web Server)

What we do in this course can likely be used with different versions of Django and to any new versions of Raspberry Pi that may come out so keep that in mind too.

Let's do this!

Who this course is for:
  • Anyone interested in Home Automation + Internet of Things (iot)
  • Entrepreneurs
  • Python/Django Users
  • Beginners to Advanced Technical Users (we do it all step-by-step)
Course content
Expand all 36 lectures 04:12:58
+ Welcome to Homebaked
4 lectures 17:57

Welcome to the course!

Preview 02:14

The required equipment for getting started in this course. Parts list: http://kirr.co/ap90q6

Preview 06:23

What we're going to do with Django in this course!

Preview 05:56

Usage guide: http://www.kirr.co/jao67o/

Preview 03:24
+ OS for Raspberry Pi
3 lectures 09:45

Download needed software (reference guide: http://kirr.co/jao67o/)

Preview 03:02

Install software : (reference guide: http://kirr.co/jao67o/)

Preview 02:35

Install your OS on your microSD card.

Flash SD Card & Install Raspbian Jessie Linux
+ Raspberry Pi - SSH, IP, Updates, and Installations
3 lectures 14:42

Bootup, Internet Connection, and get your Pi's IP Address.

Get Raspberry Pi's IP Address

Use a secure shell (SSH) on your non-pi computer to connect via network.

SSH Into Pi

Do all needed updates and installation to your pi's OS.

PI Updates, Upgrades, & Install Django
+ Setup Apache 2 & Basic Django Project
3 lectures 26:32

Setup an Apache web server for Django part 1

Setup Apache2 & Django Part 1

Setup an Apache web server for Django part 2

Setup Apache2 & Django Part 2

FTP into your PI from your non-pi computer to exchange files for long-term production.

FTP with Cyberduck and Transmit
+ Django Pi Time (Django Project)
18 lectures 02:34:45

Create a new Django project for the Django Pi Time project.

Preview 05:12

Create the Timeclock app

Preview 07:38

Setup static files to be served within your local testing environment.

Preview 07:52

Testing the UserActivity Model in the Django Admin

Preview 06:45

Validation for Correct Activity on the Model

Validation for Correct Activity on Model

Create a view for displaying individual user activity.

View for User Activity

Create a model manager for toggling user's activity.

Model Manager for Toggling Activity

Create an activity view for toggling user's current activity.

Activity View for Toggle & Current

Create a login form for authentication with your user.

Login Form

Do authentication and log the user in to a new session.

Authenticate & Login

Create a way to verify the user's password prior to checking in or checking out.

Verify User Password to Check In

Update action validation based on the time and time difference.

Time Based Action Validation

View all users' activity part 1

Users Activity Part 1

View all users' activity part 2

Users Activity Part 2

View all users' activity part 3

Users Activity Part 3

Learn about Decorators to handling Login Required on views.

Decorators for Login & Staff Required

Integrate getbootstrap.com to have a better styled app.

Integrate Bootstrap

Wrap up for the Django Project.

Django Project Complete
+ Django Project to Raspberry PI
4 lectures 28:02

Download and FTP New Django project to work on Raspberry PI

Download & FTP New Django Project to Pi

Update Permissions for accessing database (and saving items) from the Raspberry Pi.

Update Permissions for Database on Pi

Doing tests on our Django project and our Raspberry Pi Network Server

Running tests on Devices in Real Time

GPIO Packages and Django

GPIO & Django
+ Thank you
1 lecture 01:15

Thank you for watching!

Thank you and next steps