hackersandslackers / django-intro-tutorial

πŸš€βœ… Get started with Django by building your first web app.

Home Page:https://hackersandslackers.com/getting-started-django/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/

Installation

Installation via requirements.txt:

$ git clone https://github.com/hackersandslackers/django-intro-tutorial.git
$ cd django-intro-tutorial
$ python3 -m venv myenv
$ source myenv/bin/activate
$ pip3 install -r requirements.txt
$ python3 manage.py runserver

Installation via Pipenv:

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

Installation via Poetry:

$ git clone https://github.com/hackersandslackers/django-intro-tutorial.git
$ cd django-intro-tutorial
$ poetry shell
$ poetry update
$ 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 Django

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.

About

πŸš€βœ… Get started with Django by building your first web app.

https://hackersandslackers.com/getting-started-django/

License:MIT License


Languages

Language:JavaScript 53.1%Language:CSS 42.3%Language:Python 3.8%Language:HTML 0.8%