Ready to contribute? Here’s how to set up EpiGraphHub
for local development.
-
Fork the
EpiGraphHub
repo on GitHub. -
Clone your fork locally:
$ git clone [email protected]:your_name_here/EpiGraphHub.git
- Prepare your local development environment:
$ mamba env create --file /conda/base.yaml
$ conda activate epigraphhub
$ pre-commit install
- Create a branch for local development:
$ git checkout -b name-of-your-bugfix-or-feature
Now you can make your changes locally.
- When you’re done making changes, commit your them and push your branch to GitHub:
$ git add .
$ git commit -m “Your detailed description of your changes.”
$ git push origin name-of-your-bugfix-or-feature
- Submit a pull request through the GitHub website.
The most common way to prepare your environment for EpiGraphHub is using conda and Docker.
If you don't have conda installed, install mambaforge
from https://github.com/conda-forge/miniforge#mambaforge.
It will install conda + mamba and it will configure it to use conda-forge by default.
If you don't have Docker installed, check the documentation for more information: https://docs.docker.com/engine/install/
- You can contribute by spreading a word about this project.
- It would also be a huge contribution to write a short article on how you are using this project.
- You can also share your best practices with us.