Why?
Fork the original repo into your GitHub account
Clone the forked repo from your GitHub account to your local machine
git clone https://github.com/<your-gh>/yearn.fi.git
Set origin to your fork. This is where you push your changes to. This is done automatically by the step above.
git remote add origin https://github.com/<your-gh>/yearn.fi
Set upstream to original repo.
git remote add upstream https://github.com/yearn/yearn.fi.git
Optional: Create .env
file in root directory of repo then copy contents of .env.example
to .env
and replace values with your own keys. If you do not do this the default values from next.config.js
will be used.
cp .env.example .env
yarn
yarn run dev
http://localhost:3000
This project can be run with Docker.
docker build -t [name-of-your-container] .
docker run -p 3000:3000 [name-of-your-container]
http://localhost:3000
git fetch
git checkout -b <your branch name> upstream/main
git add .
git commit -S -m "message"
git fetch
git merge upstream/main
git push origin <branch-name>
Pull requests
and then click on New pull request
compare across forks
compare:
and select branch that you want to create a pull request for then click on create pull request