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:
- If you are on a Windows machine, install WSL 2, as described below.
- Download and set up a Git client
- Fork the
AlexsLemonade/OpenScPCA-analysis
repository - Clone your fork to your computer
- Set up additional dependencies that you'll need to contribute to OpenScPCA:
- Download, install, and set up conda
- OpenScPCA uses conda to manage your software environment and dependencies.
- Installing conda also provides you with Python and other tools you need to write or contribute to Python-based modules
- Set up
pre-commit
- This will allow you to make contributions in Git
- Configure the AWS command line interface (CLI)
- You can only complete this step if the Data Lab has created an Amazon Web Services account for you
- [Optional] If you plan on writing or contributing to R-based modules, you should also download and install R and RStudio, along with a few handy R packages
- [Optional] Install Docker
- This allows you to run your analysis modules inside a Docker container, ensuring reproducibility across machines
- Download, install, and set up conda
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.