Yandex Open Source Jam 2024

1. Установка git

brew install git
apt-get install git
winget install --id Git.Git -e --source winget

2. Установка GitHub CLI

brew install gh
(type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y)) \
&& sudo mkdir -p -m 755 /etc/apt/keyrings \
&& wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
&& sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
&& sudo apt update \
&& sudo apt install gh -y
winget install --id GitHub.cli

3. Репозиторий воркшопа
4. Основные шаги:

function step { rm -rf ./**; cp -fr ../steps/step-$1/ .; }

git clone git@github.com:diplodoc-platform/notconf-steps.git steps
# create <docs-example> gh project from scratch
gh repo create
cd docs-example

# install our cli as an gh extension, may take some take
gh extension install diplodoc-platform/gh-docs