Setting up your Local Development Environment

This document helps you install and configure the tools you'll need to develop Python applications on your local machine.

GitHub

Unless you already have one, take a moment to create a GitHub account. We'll use this platform to manage, share, and submit different versions of our Python projects.

Afterwards, consider signing up for the GitHub Student Developer Pack, which provides some free resources.

PRIVACY OPTIONS: Many students wish to associate their personal identities with their GitHub accounts, to display a portfolio of programming projects. However, if you're concerned about privacy, you have a few options. First, consider choosing a GitHub username which is different than your university-issued net identifier. Second, avoid uploading any personally-identifiable information to your GitHub profile. Third, consider submitting projects via private repositories.

Text Editor

Unless you already have a text editor of choice, install VS Code.

After installing VS Code, take some time to explore its helpful features. See the professor's VS Code configuration reference for more details.

Command-line Application

Mac users who don't already have a preferred command-line application are encouraged to use the built-in Terminal application (no need to download anything, although you may want to customize the Terminal appearance as desired).

Windows users who don't already have a preferred command-line application are encouraged to install Git Bash, which will allow Windows users to write the same unix-style commands as Mac users.

FYI: The "Command-line Computing" Exercise will introduce you to the most useful commands.

Anaconda

Unless it is already installed, install Anaconda Version 3.8 for either Mac or Windows. See the professor's Anaconda installation reference for more details.

IMPORTANT: remember to check the "add to PATH" option during installation, especially on Windows, so Anaconda will integrate with the other local development tools such as Git Bash on Windows.

NOTE: when using conda to activate a virtual environment for the first time, when prompted to do so, Windows Git Bash users may need to run conda init bash, and Mac Zsh profile users may need to run conda init zsh.

Version Control Utilities

A "version control" tool will help us download projects from GitHub and upload projects to GitHub. We'll ultimately want to use the Git Command-line Utility (CLI) to do this. But many students think Git is harder to learn than Python, so beginners can feel free to get started with the GitHub Desktop software, which provides an easier to use graphical user interface (GUI).

Git CLI

Windows users who have installed Git Bash (see "Command-line Application" section above) will have satisfied the Git installation requirement.

Mac users may find that a system version of Git is already installed, but we want to use a newer version, to make things as easy as possible. So all Mac users are encouraged to install Git via Homebrew. See the professor's Git installation reference for more details.

After installing Git, all students should generate SSH keys and configure their account credentials. See the professor's Git configuration reference for more details.

GitHub Desktop

Students who want to use GitHub Desktop should first install the Git CLI (see step above), then they can also install GitHub Desktop software on Mac or Windows.

After installing, you will need to login with your GitHub account credentials. See the professor's GitHub Desktop configuration reference for more details.

Last updated