Skip to content

Latest commit

 

History

History
86 lines (54 loc) · 2.09 KB

File metadata and controls

86 lines (54 loc) · 2.09 KB
title description author keywords math
Introduction
First Python lecture
Qusai Al Shidi
space-weather,space,python
mathjax

Qusai Al Shidi | [email protected]

WELCOME 👋


Let's get you set up.

  • Download and install Anaconda.
  • Run Anaconda Navigator.

Install the following packages using Anaconda's package manager

(some of these are installed by default)

Go into the Anaconda command prompt and install the missing packages.

  • Spyder
  • conda install -c conda-forge bash or conda install -c msys2 m2-base on Windows.
  • conda install -c conda-forge pip
  • conda install -c conda-forge git

Before we move on let's get you a GitHub account

  • GitHub is a website that hosts git repositories.
  • git is a version controlling software for your source code.
  • Every repository is independent and decentralized, conflicts must be resolved by you.
  • Go to GitHub.com and register for an account.

Now go to our summer school git repository and give it a star ⭐


Now fork it 🍴

  • Forking makes a copy of the repository for your own account.
  • Do this when making contributions to open source project to merge back one day!

Clone it into your PC


  • Every git repository is independent but they can be cloned!
  • Good science is done more easily with good organization. Find a good folder in your computer to clone.

Let's configure git first

  • git config --global user.name '<full name>'
  • git config --global user.email '<email>'

mkdir and cd

  • To create directories type mkdir <directory_name>
  • To move into a directory type cd <directory_name>
  • Most terminals allow tab-completion! Use that to your advantage.

  • Finally when you are in the folder you want to use for your work
  • git clone <clone_link>