/ Menu / Prerequisites
pyenv
(recommended)python
(3.11)pipenv
(sub-package of python)docker
docker compose
vscode
(optional, but recommended)
pyenv
is a python version manager.
It provides easy installation and usage of multiple versions of python.
MacOS:
brew install pyenv
Windows: https://github.com/pyenv-win/pyenv-win
If you don't want
pyenv
, install python 3.11 manually.
pyenv install 3.11.0
You may now execute commands with this python version via pyenv exec
:
pyenv
will automatically recognise the file I made .python-version.
It will attempt use this version when you are inside the directory of this workshop.
pyenv exec python -V
pipenv
is a sub-package of python that can be install via pip
.
-m
calls upon a sub-module.
This is the python equivalent of
npm
/yarn
.
Installing packages viapipenv
will download them into folder.venv/
, similar tonode_modules/
.
pyenv exec python -m pip install pipenv
You can now use pipenv
. Example:
pyenv exec python -m pipenv
https://docs.docker.com/get-docker/
https://docs.docker.com/compose/install/