DEV Community

Cover image for Django Setup
lilo-creator
lilo-creator

Posted on

Django Setup

Hey devs πŸ‘‹πŸ½
This is my very first article here on Dev.to β€” yaay! πŸ₯³
I recently set up my development environment from scratch, and I thought, why not share it? πŸ’»
If you're just starting out in Python, web development, or DevOps, these are some tools you’ll definitely need.
Here's a simple, step-by-step guide I used to install:

**

1 Git

**
For Windows:
Go to https://git-scm.com/
Download the latest version.
Follow the installer prompts (use defaults if unsure).
sign up and create an account

2. Python 3.10

first check your version :
python --version
If it’s below 3.10 or not found then in :
Windows:
Download from the official siteπŸ‘‰ https://www.python.org/downloads/
During installation, check the box that says β€œAdd Python to PATH”!

3. Text Editor: VS Code

To install VSCode:
Download from https://code.visualstudio.com/
Install extensions like Python

4. WSL for Windows Users

This lets you run Linux on Windows β€” perfect for dev work.
Steps:
Open PowerShell as Admin and run:
wsl --install
Restart your PC.
On boot, choose your Linux distro (Ubuntu is perfect for beginners).
Set up username & password.

5. Installing Docker

Docker is essential for containerizing your apps.

To install:
Download Docker Desktop from(https://www.docker.com/products/docker-desktop)
Install & follow the prompts.
Restart if needed.
Check if it's working:
docker --version

6. Configuring Git with GitHub SSH

This step avoids having to type your password all the time when pushing code to GitHub.
Step-by-step:
1.Check for existing SSH keys:
ls ~/.ssh
2.If none, generate one:
ssh-keygen -t ed25519 -C "[email protected]"
Just press Enter through the prompts.
3.Add the SSH key to your GitHub:
cat ~/.ssh/id_ed25519.pub
Copy the output, go to GitHub:
Settings > SSH and GPG keys > New SSH key
Paste and save.
4.Test it:
ssh -T [email protected]

Top comments (1)

Collapse
 
chrisachinga profile image
c a

great