Setting up your environment
In order to begin programming, you need to setup your environment. We will assume macOS in this tutorial, if only for expedience and I didn’t want to go into detail on any other environments.
Setup a Github account
Navigate over to https://github.com and signup for an account. Choose a username, enter an email address and password.
You will need an SSH key which is used to authenticate between git on your client, and GitHub, so follow the instructions at https://help.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent. After that we’ll upload our public key to GitHub by navigating to Settings -> SSH and GPG Keys and selecting New SSH Key. The public key can generally be found in the .ssh directory so simply copy and pate after typing this in Terminal
cat ~/.ssh/id_rsa.pubInstall brew
Brew is a package manager for command line tools which we’ll use in subsequent exercises. To read the instructions on how to install brew, you can visit this website: https://brew.sh
or simply open a Terminal and paste in the following:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"Install Python 3
Now that we have brew, we can simply do the following in a Terminal window:
brew install pythonInstall PyCharm
You can find the install for PyCharm at https://www.jetbrains.com/pycharm/.
