Skip to content

Technical setup

This section provides instructions for technical aspects of setup.

All of these steps are required setup when working locally on your computer (or server).

If you are planning to work on a Lightsail for Research instance, please instead refer to the Lightsail for Research documentation for setup instructions.

Local setup steps

To prepare to contribute to OpenScPCA, please do the following in order:

  1. If you are on a Windows machine, install WSL 2, as described below.
  2. Download and set up a Git client
  3. Fork the AlexsLemonade/OpenScPCA-analysis repository
  4. Clone your fork to your computer
  5. Set up additional dependencies that you'll need to contribute to OpenScPCA:

Special considerations for Windows users

Due to the OpenScPCA project's technical environment needs, Windows users will need to install and use Windows Subsystem for Linux 2 (WSL 2).

WSL 2 lets you run a separate Linux (Ubuntu) environment on your Windows computer. This includes a separate Linux file system that is mostly distinct from your regular Windows file system. When contributing to OpenScPCA, all data analysis will happen on the WSL 2 side of your computer, which means:

  • Your repository needs to be cloned into your WSL 2 file system
  • All applications (e.g., GitKraken and RStudio) need to be installed as Linux applications on your WSL 2 system

The OpenScPCA project does not support the use of Windows machines without WSL 2. Note that all contributors have access to Lightsail for Research (LSfR) instances which run Linux (specifically, Ubuntu), so you can use LSfR if you prefer not to install WSL 2.

Learn more about WSL 2

For more information about WSL 2, please see this Introduction to Windows Subsystem for Linux.