Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
How To Push Django Python Apps To Heroku for Web Hosting
Rating: 4.6 out of 5(108 ratings)
3,512 students

How To Push Django Python Apps To Heroku for Web Hosting

Hosting Django Apps In The Cloud
Created byJohn Elder
Last updated 11/2023
English

What you'll learn

  • Install Python
  • Install Django
  • Install Virtualenv
  • Install Git Bash
  • Install the Heroku Toolbelt
  • Install Heroku Dependencies
  • Push Django Code to Heroku
  • Create Basic Database Apps in Django

Course content

4 sections37 lectures2h 40m total length
  • Introduction3:40

    Push a Django app to Heroku for professional web hosting, using the free tier with scalable dynos and a database, while building an address book app to learn deployment.

  • First Things First: How To Get Support Fast!0:09
  • Install Python4:30

    Install Python by uninstalling and reinstalling on Windows, ensure the add Python 3.7 to path checkbox is checked, download the latest version (32-bit), and note Mac and Linux guidance.

  • Git Bash3:07

    Install Git Bash on Windows to have a functional terminal for git and pushing to Heroku. Download from git-scm; add to path; enable unix tools and ssh keys.

  • SSH Keys3:45

    Use git bash on windows to generate an ssh key in the .ssh directory with ssh-keygen, then copy the public key to GitHub and Heroku to enable pushing Django apps.

  • Heroku Toolbelt2:16

    Install the Heroku toolbelt, download the installer, set the PATH, and restart the bash terminal to verify the Heroku version. The next video covers virtual environments and their importance.

  • Virtualenv5:42

    Create and activate a virtual environment with pip to manage Python packages, test different Python versions, and prepare Django for deployment to Heroku.

  • Install Django4:52

    Install Django in a virtual environment, install dependencies, start a new project, and run the local server to verify the setup for deployment on Heroku.

  • Django Version 3.0 Update0:06

    Django has updated to version 3.0 since this course was released. You can use the latest version of Django with no problems in this course.

Requirements

  • No programming skills or special tools are necessary to take this course but intro knowledge of Django and Python would be helpful
  • You just need a computer with Internet access and a Web Browser

Description

Do you know how to build Django apps with Python, but aren't sure how to get your app up onto the Internet?  This course if for you!


In this course I'll teach you how to host your Django Python app on Heroku.


We'll build a cool address book app in Django 2 and Python 3. The main reason for this course, though, is to teach you how to get your Django apps off your computer and hosted live online.


So many instructors teach Django courses that don't show you how to make your app 'live' online.  Why? Because it can be tricky!  That's why I built a course that focuses just on that!


We'll learn how to:


  • Install Python


  • Install Django


  • Install and use Virtualenv


  • Install git Bash for Windows


  • Install the Heroku Toolbelt


  • Tweak a Django app's Setting to work with Heroku


  • Push our Code to Github and Heroku


  • Set up Postgres databases in the cloud


  • Build a cool little address book app


  • And much more...


I'll be walking you through this course on a Windows computer, but if you're on a Mac or Linux, you should be fine too.  I try to point out any differences along the way.


If you've ever been confused by pushing code to a professional web hosting provider in Django, then this is the course for you.


See you on the inside!

-John Elder

CEO Codemy. com




Who this course is for:

  • This course is aimed towards students who want to learn to push their Django projects to Heroku for Hosting
  • Anyone who wants to learn to push Django web apps to production hosting in the cloud