Contributing
Table of Contents
Contribute
Getting Started
Start by forking the main repository
Clone your copy of the repository.
Using ssh:
git clone git@github.com:[your user name]/offlinedatasci.git
Using https:
git clone https://github.com/[your user name]/offlinedatasci.git
Link or point your cloned copy to the main repository. (I always name it upstream)
git remote add upstream https://github.com/carpentriesoffline/offlinedatasci.git
Check or confirm your settings using
git remote -vorigin git@github.com:[your user name]/offlinedatasci.git (fetch) origin git@github.com:[your user name]/offlinedatasci.git (push) upstream https://github.com/carpentriesoffline/offlinedatasci.git (fetch) upstream https://github.com/carpentriesoffline/offlinedatasci.git (push)
Install the package from the main directory.
offlinedatasci can be installed from source using including pip or uv.
Install using Pip
pip install .'[dev,docs]'
Install using uv
uv sync --all-extras --dev
Installing R
Code of setting up the CRAN mirror (packages or R) requires requires that R be installed on the system. If R is not already installed follow the installation instructions for your operating system
We use the miniCRAN package to handle mirroring CRAN.
It will be automatically installed if it is not already or if the minimum version is too low.
Running tests locally
pytest -v
Reporting Issues
To report issues or problems with either the material or the operation of the site please open an issue and we’ll be happy to address it.
Getting Help
Open an issue if there’s anything we can do to help!
Community Guidelines
See our Code of Conduct for our community guidelines.