Skip to content

Baseline Setup

Download Python

Note: This course uses Python 3.11 but I used 3.10.12

Python Installation Guides

  1. Windows
  2. Linux
  3. MacOS

IDE Setup

We recommend using Visual Studio Code as our IDE. Alternatively, you can use Sublime Text if it suits your preferences.

  1. Download & Install Visual Studio Code

  2. Helper Extensions:

Virtual Environment Setup

  1. Update system pip:

    pip install -U pip
    

  2. Install virtualenv:

    pip install virtualenv
    

  3. Create a new virtual environment:

    python3 -m venv ./<your_venv_name>
    

  4. Activate the virtual environment:

    source <your_venv_name>/bin/activate
    

  5. Create requirements.txt to manage packages:

    • Django==4.2
      Note: This course uses Django 4.1 but I used 4.2
  6. Install packages from requirements.txt:

    pip install -r requirements.txt
    

  7. Deactivate the virtual environment:

    deactivate
    

Success!

Congratulations! You have successfully set up Django in your virtual environment and are ready to proceed with the course.