Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

How to Create a Django Project

Follow tutorial on How to Create a Django Project on Real Python to create a new Django project with one Django app from scratch.

Note: This project targets Python 3.12 or later.

Setup

You can run the provided example project on your local machine by following the steps outlined below.

Create a new virtual environment:

$ python3 -m venv venv

Activate the virtual environment:

$ source venv/bin/activate

Install the dependencies for this project:

(venv) $ python -m pip install -r requirements.txt

Run the Scaffold

Navigate into the Django project folder:

(venv) $ cd setup/

Run the Django development server:

(venv) $ python manage.py runserver

Navigate to http://localhost:8000/ to see the starter project in action.