Skip to content

Instantly share code, notes, and snippets.

@LyzioOh
Last active January 7, 2026 18:53
Show Gist options
  • Select an option

  • Save LyzioOh/44d4ea964aa03fbe0b6799a19cdd0d19 to your computer and use it in GitHub Desktop.

Select an option

Save LyzioOh/44d4ea964aa03fbe0b6799a19cdd0d19 to your computer and use it in GitHub Desktop.
chesstics-training-install
#!/bin/bash
export REPO="lyziooh/chessboard-training"
export INSTALL_GIST="https://gist.github.com/LyzioOh/44d4ea964aa03fbe0b6799a19cdd0d19/raw/68e1ed78ca911171edcdfd816ce5d0eaf7e98ef8/gistfile1.txt"
#/bin/bash -c "$(curl -fsSL $INSTALL_GIST)"
sudo apt update
sudo apt install socat -y
(type -p wget >/dev/null || (sudo apt update && sudo apt install wget -y)) \
&& sudo mkdir -p -m 755 /etc/apt/keyrings \
&& out=$(mktemp) && wget -nv -O$out https://cli.github.com/packages/githubcli-archive-keyring.gpg \
&& cat $out | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
&& sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
&& sudo mkdir -p -m 755 /etc/apt/sources.list.d \
&& 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
echo "$GGH_TOKEN" | gh auth login --with-token
echo ""
gh auth status
gh repo clone lyziooh/chessboard-training
git config --global user.email "etancelin.edouard@gmail.com"
git config --global user.name "Edouard Etancelin"
git config credential.helper 'cache --timeout=7200'
pip install pipx
pip install poetry
pipx ensurepath
source ~/.bashrc
cd chessboard-training
poetry env use 3.12.12
poetry install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment