Prerequisites
Install Python 3.10+
In this workshop we will use Python 3.12 but any Python 3.10+ version should work.
A good way to install Python 3.10+ is to use pyenv
curl https://pyenv.run | bash
Note: you may need to add the following to your .bashrc
or .zshrc
:
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
echo 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(pyenv init -)"' >> ~/.bashrc
To verify that pyenv is installed, run:
pyenv --version
Install Poetry
curl -sSL https://install.python-poetry.org | python3 -
To verify that Poetry is installed, run:
poetry --version
Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Note: you may need to add the following to your .bashrc
or .zshrc
:
export PATH="$HOME/.cargo/bin:$PATH"
To verify that Rust is installed, run:
rustc .-vV
Install Docker
Visual Studio Code
You can use whatever IDE you want but we're going to use Visual Studio Code as our code editor.
The following extensions are recommended: