Setting up Git, Docker, Python, Text editor(vs code) and connecting git to git git SSH in readiness to learn Django framework of Python.
This is done for Windows.
Git
First thing I did was make sure Git was installed and properly configured.
Did this by getting the link to the git website and downloading it.
I also configured my user details:
git config --global user.name "Chenda001"
git config --global user.email "chendaketer@gmail.com"Python (Version 3.13)
It is Python 3.13 to be exact.
I Downloaded it from python.org
Where I clicked on Windows installer before adding python to path and clicking install.VS Code (text editor)
It had been the easiest to download.
link i downloaded it from: https://code.visualstudio.com/
And i chose the one compatible to my laptop.
4.Docker
I downloaded Docker for windows from the link below:
https://www.docker.com/products/docker-desktop
During setup, I enabled the WSL 2 backend in Docker settings.
GitHub SSH Setup I created an SSH key in Ubuntu: ssh-keygen -t ed25519 -C "your-email@example.com" Then added it to the SSH agent: eval "$(ssh-agent -s)" ssh-add ~/.ssh/id_ed25519 To copy the public key: cat ~/.ssh/id_ed25519.pub I pasted it into GitHub under: Settings → SSH and GPG Keys → New SSH key
To test the connection:
ssh -T git@github.com
And got:
Hi your-username! You've successfully authenticated...
Now my dev environment is ready. I can write Python code, use GitHub securely with SSH, run Docker containers, and work entirely inside Ubuntu using VS Code.
- Connecting Git to Git SSH using Gitbash Step 1 :checking for an existing SSH keys. open Git Bash and run: ls -al ~/.ssh
step 2: Generating a new git SSH
Open git bash and run:
ssh-keygen -t ed25519 -C "chendaketer@gmail.com"
step 3: Starting SSH Agent and add key agent
Open Git Bash and run:
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
step 4:add the public key to GitHub
open git bash and run:
cat ~/.ssh/id_ed25519.pub
step 5:testing the SSH connection
Open Git Bash and run:
ssh -T git@github.com
Top comments (1)
good one