Thanks for your interest in improving the project! This document provides a step-by-step guide for general contributions to Spinup.
We have a slack, join using the invite link.
If you have a specific idea of a fix or update, follow these steps below to submit a PR:
-
Fork the Spinup repo, and then clone it:
export user={your github profile name} git clone git@github.com:${user}/spinup.git
-
Set your cloned local to track the upstream repository:
cd spinup git remote add upstream https://github.com/spinup-host/spinup -
Disable pushing to upstream master:
git remote set-url --push upstream no_push git remote -v
The output should look like:
origin git@github.com:$(user)/spinup.git (fetch) origin git@github.com:$(user)/spinup.git (push) upstream https://github.com/spinup-host/spinup (fetch) upstream no_push (push)
-
Get your local master up-to-date and create your working branch:
git fetch upstream git checkout master git rebase upstream/master git checkout -b myfeature
make run-apiNB: Run make help on your terminal to see the full list of make commands.
-
Run the following commands to keep your branch in sync:
git fetch upstream git rebase upstream/master
2 Run these commands to validate your changes.
make test
make checksPull request are welcome. For major changes, please open an issue first to discuss what you would like to do.