- Install Docker Desktop
- Install VS Code
- Verify Python installation:
python --version
. Should be Python 3.9.x or above. I am using Python 3.11.x for the workshop today
Replace
python
withpython3
depending on how Python 3 is configured on your machine
- Verify git is installed:
git --version
. Github Desktop is a handy UI tool if you have trouble setting upgit
on the terminal - Clone the Github repo: github.com/allentv/pycon2023-docker-desktop
- Setup a new virtual environment:
python -m venv .venv
in the cloned folder - Activate virtual environment with
source ./.venv/bin/activate
. Your terminal prompt should be updated with(.venv)
at the beginning - Install python packages:
pip install -r requirements.txt
Replace
pip
withpip3
depending on how Python 3 is configured on your machine
Use powershell
for running all commands. Some of the above steps should be replaced by the below to work on powershell
- Install Docker Desktop
- Activate virtual environment with
.\.venv\bin\activate
. Your terminal prompt should be updated with(.venv)
at the beginning