Base environment setup

Simply install the Django package.

$ python -m pip install Django

Creating a project

$ django-admin startproject <your project name>

Creating an app inside a project

A django project is usually split into multiple components, i.e. apps.

Your django project should have the python file on project root.

$ python startapp <your app name>