Skip to content

naoyuki-hirata-biz/django42-beginners-guide

Repository files navigation

A Complete Beginner's Guide to Django 4.2

Python Version Django Version Bootstrap Version

Code samples from the Django tutorial series.

Django Boards Screenshot

Table of Contents

For the complete tutorial series index click here.

Running the Project Locally

First, clone the repository to your local machine:

git clone https://github.com/naoyuki-hirata-biz/django42-beginners-guide.git
cd django42-beginners-guide
docker compose build
docker compose up
docker compose exec python bash
python -m venv django42
source django42/bin/activate

Install the requirements:

pip install -r requirements.txt

Setup the local configurations:

cp .env.example .env

Create the database:

mysql -h mysql -u root
create database myproject;
python manage.py migrate

Finally, run the development server:

python manage.py runserver 0.0.0.0:8000

The project will be available at 127.0.0.1:8000.

License

The source code is released under the MIT License.

Creative Commons License

The tutorials, documentations, comics are licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

About

A Complete Beginner's Guide to Django 4.2 - Code Samples

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages