Getting Started
Maintainers
-
Clone the repository onto your local machine
-
git clone https://github.com/ImmaculateDivinity/SeedlingEducation
-
This uses HTTPS which may require a different format if
git clone
is configured with SSH -
Create a feature/release/patch/fix branch depending on what you are trying to contribute and switch to that branch
-
Install dependencies (assuming proper installation of npm and pip, and a python virtual environment)
-
npm install && pip install -r requirements.txt
- dev-build dependencies -
pre-commit install
- pre-commit hooks -
Periodically update your branch
git checkout <branch_name> # switch to dev branch
git fetch origin # update dev branch with main branch
git merge origin/main
Outside Collaborators
-
Fork the repository onto your profile
-
Clone your fork onto your local machine
-
git remote add upstream https://github.com/ImmaculateDivinity/SeedlingEducation
to add a remote to main repository
Please keep your fork updated with the main repository before opening a pull request [Always pull before push]
-
git fetch upstream
to grab changes from the main repository. Alternatively, GitHub offers and option on the website to Sync Fork. -
Create a feature/release/patch/fix branch depending on what you are trying to contribute and switch to that branch
-
Install dependencies (assuming proper installation of npm and pip, and a python virtual environment)
-
npm install && pip install -r requirements.txt
- dev-build dependencies -
pre-commit install
- pre-commit hooks -
Periodically update your fork's main branch
To keep development branch up to date with main, first make sure to have your main branch on your fork up-to-date with upstream via #4 then
git checkout <branch_name> # switch to dev branch
git fetch origin # update dev branch with main branch of fork
git merge origin/main