Skip to content

hackersandslackers/django-intro-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Intro Tutorial

Python Django GitHub Last Commit GitHub Issues GitHub Stars GitHub Forks

Django Intro Tutorial

A beginner's tutorial to launching a simple Django web app (part 1 of a series). This repository is the source code for the tutorial found here: https://hackersandslackers.com/getting-started-django/

Getting Started

Installation is recommended with Pipenv:

$ git clone https://github.com/hackersandslackers/django-intro-tutorial.git
$ cd django-intro-tutorial
$ pipenv shell
$ pipenv update
$ python3 manage.py runserver

Alternatively, try installing via setup.py:

$ git clone https://github.com/hackersandslackers/django-intro-tutorial.git
$ cd django-intro-tutorial
$ python3 setup.py install
$ python3 manage.py runserver

How to use

The scope of this tutorial covers the modest scope of serving a single page template via Django complete with styles and other static assets. Deploying this project won't result in anything glorious, as it is intended to help newcomers grasp some basic Django concepts such as:

  • Installing and running Django locally
  • Configuring Django settings properly
  • Creating and managing “app” modules
  • Serving templates via Django’s native templating system
  • Styling templates with static assets
  • Routing in Dango

Hackers and Slackers tutorials are free of charge. If you found this tutorial helpful, a small donation would be greatly appreciated to keep us in business. All proceeds go towards coffee, and all coffee goes towards more content.