DEV Community

Cover image for Installing key components in kickstarting a 20-day bootstrap for Django
almasi-y
almasi-y

Posted on • Edited on

Installing key components in kickstarting a 20-day bootstrap for Django

We will need to install and or set up the following:

  • Text Editor (VS Code)
  • Python 3.10 +
  • WSL
  • Connect github with github ssh
  • Git
  • Docker

Text Editor(VS Code)

What to do:

Python 3.10+

What to do:

  • Head over to https://www.python.org/downloads/
  • Select to download the version of python you would prefer preferably the latest on 3.13 and again check for compatibility
  • Run the package and now you have these installed -the IDLE -the Module Docs -the python cli

WSL

What to do:

  • Open PowerShell or Windows Command Prompt in administrator mode by right-clicking and selecting "Run as administrator"
  • Enter the wsl --install command, then restart your machine. -This command will enable the features necessary to run WSL and install the Ubuntu distribution of Linux. (This default distribution can be changed).

Connect github with github ssh

What to do:

  • Check for existing SSH Keys
    ls -al ~/.ssh.
    This lists the files in your .ssh directory.

    • Looked for files like id_rsa.pub, id_ecdsa.pub, or id_ed25519.pub. If they are not there generate them.
  • Generating keys

    • Run ssh-keygen -t ed25519 -C "almasavrl@gmail.com" Replace "almasavrl@gmail.com" with your actual GitHub email address.
    • Put a passphrase(optional) or press enter
    • Enter for the location of the ssh files to be in default location.
  • Add the SSH Key to the SSH Agent

    • Start the SSH agent in the background: eval "$(ssh-agent -s) ssh-add ~/.ssh/id_ed25519
  • Adding the SSH Key to my GitHub Account

    cat ~/.ssh/id_ed25519.pub

  • Copy the ssh key in github

    • Head to my profile, settings then SSH and GPG settings added the new SSH key.
  • Test Your SSH Connection:
    ssh -T git@github.com

    • You should see a success message as such: Hi USERNAME! You've successfully authenticated, but GitHub does not provide shell access.

GIT

What to do:

  • Head on over to https://git-scm.com/downloads on your browser
  • Download the version required by respective operating system
  • Run the execute file and you should have git installed in a folder containing -git bash -git gui -git cmd
  • Further setting up of github email and username can be done in the bash

Docker

What to do:

  • Head on over to https://www.docker.com/get-started/
  • Click on download Docker desktop
  • Run the executable files and docker should be installed
  • Of course create an account or sign up via google or github

Top comments (1)

Collapse
 
chrisachinga profile image
c a

well written