Getting Started

Next chapter:

  1. Setting Up Your Templates

Previous chapter:

  1. Prerequisites

Buy the book:

  1. Order Hello Web App

Writing HTML and viewing your results right away is easy: Just point your browser to your HTML (.html) file and voilà — your website gets displayed!

Not so with your Python (.py) files — your browser has no clue what to do with Python code. To start creating web apps in Django, we first need to install Python and Django on your computer (as well as a few other useful utilities, including a local web server that will interpret your Python code and deliver responses that your web browser can understand.)

This is the most complicated part of the process. Because the instructions for installing and setting up Python keep changing over time, they live online.

Hello Web App's Python and Django installation instructions can be found here:

Once you've finished, head back to your command line (make sure you're in your virtual environment and you're in the same directory as and run python runserver. If everything worked correctly, you should see the Django congratuations page (congratulations!)

What you should see if you correctly installed Python and Django and started the local web server.

As you go through the rest of the book, keep in mind that if you ever need to check that you have the correct code snippets copied into your app, all code in the book can be found on our GitHub code repository (change chapters by clicking the "branch" button):

We also have an online forum to discuss the book and resolve issues here:

Any other information (including installation instructions, tips, and resources) can be found on our main repository here:

Now get started building your app!

Previous chapter:

← Prerequisites

Get a free sample of all products by joining the Hello Web Books newsletter.

Get updates, extra information about development and resources, and free samples right to your inbox.

No spam, I promise. Unsubscribe at any time.

Thanks for being on the Hello Web Books email list! 💕