Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hackersandslackers/django-intro-tutorial
πβ
Get started with Django by building your first web app.
https://github.com/hackersandslackers/django-intro-tutorial
beginner django mvc-framework python tutorial
Last synced: 7 days ago
JSON representation
πβ Get started with Django by building your first web app.
- Host: GitHub
- URL: https://github.com/hackersandslackers/django-intro-tutorial
- Owner: hackersandslackers
- License: mit
- Created: 2019-12-04T23:40:07.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-11T03:16:08.000Z (2 months ago)
- Last Synced: 2024-09-11T08:56:45.839Z (2 months ago)
- Topics: beginner, django, mvc-framework, python, tutorial
- Language: JavaScript
- Homepage: https://hackersandslackers.com/getting-started-django/
- Size: 360 KB
- Stars: 11
- Watchers: 2
- Forks: 3
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Django Intro Tutorial
![Python](https://img.shields.io/badge/Python-v3.8-blue.svg?logo=python&longCache=true&logoColor=white&colorB=5e81ac&style=flat-square&colorA=4c566a)
![Django](https://img.shields.io/badge/Django-v3.0.0-blue.svg?logo=Django&longCache=true&logoColor=white&colorB=a3be8c&style=flat-square&colorA=4c566a)
![GitHub Last Commit](https://img.shields.io/github/last-commit/google/skia.svg?style=flat-square&colorA=4c566a&colorB=a3be8c)
[![GitHub Issues](https://img.shields.io/github/issues/hackersandslackers/django-intro-tutorial.svg?style=flat-square&colorA=4c566a&colorB=ebcb8b)](https://github.com/hackersandslackers/bigquery-python-tutorial/issues)
[![GitHub Stars](https://img.shields.io/github/stars/hackersandslackers/django-intro-tutorial.svg?style=flat-square&colorB=ebcb8b&colorA=4c566a)](https://github.com/hackersandslackers/bigquery-python-tutorial/stargazers)
[![GitHub Forks](https://img.shields.io/github/forks/hackersandslackers/django-intro-tutorial.svg?style=flat-square&colorA=4c566a&colorB=ebcb8b)](https://github.com/hackersandslackers/bigquery-python-tutorial/network)![Django Intro Tutorial](https://res-2.cloudinary.com/hackers/image/upload/q_auto/v1/2019/12/[email protected])
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`**:
```shell
$ 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](https://pipenv-fork.readthedocs.io/en/latest/)**:
```shell
$ 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](https://python-poetry.org/)**:
```shell
$ 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](https://www.buymeacoffee.com/hackersslackers) would be greatly appreciated to keep us in business. All proceeds go towards coffee, and all coffee goes towards more content.