(NEW) Setting up a Windows Development Environment - UWMRO/Instruments GitHub Wiki

1. Overview

  • Just to keep things straightforward, let's not use Ubuntu WSL (for now). Sorry for the confusion

2. Things you need to download (go down the list one by one)

  • Git for Windows is for managing the files and changes that happen on your computer.
  • GitHub CLI. Not to be confused with Git for Windows. This helps you connect with your GitHub account and the code you have online.
  • VSCode is a text editor. If you use another editor, feel free to use (just that it will be easier to be on the same page with VSCode)
  • Conda for Windows is a platform for using Python and related libraries and tools. Useful for astronomy!

3. Using Windows PowerShell (or other Command Line Interfaces, CLIs)

  • When opening a CLI, make sure to right-click and select "Run as Administrator." This will help you get pass asking for permission when installing things.

4. Setting up GitHub CLI

  1. Issue the command on Windows PowerShell
gh auth login
  1. Pick "Github.com"
  2. Pick "HTTPS"
  3. Pick "Y" (yes)
  4. Pick "Login with a web browser"
  5. Copy-and-paste the code they give you in the prompt. Press Enter to open a webpage (the place to paste the code)

5. Did you fork UWMRO/Instruments?

  1. One the top right corner of this webpage, there will be a button that allows you to fork this repo.
  2. There is a checkbox that asks to fork only the main branch. Uncheck that box.