Set up the website for local development
mainThe Health Icons website is built with Next.js. To contribute to the codebase, follow these steps to set up your local environment:
- Fork the main repository on GitHub.
- Clone your fork:
gh repo clone {your-username}/healthicons. - Add the upstream remote:
git remote add upstream git@github.com:resolvetosavelives/healthicons.git. - Fetch the upstream:
git fetch upstream. - Create a new branch from upstream main:
git checkout -b my-branch-name upstream/main. - Install dependencies:
yarn install. - Start the development server:
yarn dev.
gh repo clone {your-username}/healthicons
git remote add upstream git@github.com:resolvetosavelives/healthicons.git
git fetch upstream
git checkout -b my-branch-name upstream/main
yarn install
yarn dev