CI / test (pull_request) Successful in 1m1s
Doxygen builds the source documentation without warnings. Task: MIL-007#1 Task: MIL-007#2 Task: MIL-007#3
54 lines
1.2 KiB
Markdown
54 lines
1.2 KiB
Markdown
# Install
|
|
|
|
🌐 **English** · [Dansk](Install-da) · [Bahasa Malaysia](Install-ms)
|
|
|
|
## Requirements
|
|
|
|
- Python 3.13 or newer with `tkinter`.
|
|
- `git`.
|
|
- Optional: Doxygen for the source documentation.
|
|
|
|
## Windows PowerShell
|
|
|
|
```powershell
|
|
git clone https://git.tirsystem.com/Tirsvad-Udemy-100-days-of-code/023-turtle-crossing.git
|
|
cd 023-turtle-crossing
|
|
py -3.13 -m venv .venv
|
|
.\.venv\Scripts\Activate.ps1
|
|
python -m pip install --upgrade pip
|
|
python -m pip install --group dev
|
|
```
|
|
|
|
## Linux Debian
|
|
|
|
```bash
|
|
sudo apt update && sudo apt install -y git python3.13 python3.13-venv python3-tk
|
|
git clone https://git.tirsystem.com/Tirsvad-Udemy-100-days-of-code/023-turtle-crossing.git
|
|
cd 023-turtle-crossing
|
|
python3.13 -m venv .venv
|
|
source .venv/bin/activate
|
|
python -m pip install --upgrade pip
|
|
python -m pip install --group dev
|
|
```
|
|
|
|
## macOS
|
|
|
|
```bash
|
|
brew install python@3.13 python-tk@3.13 git
|
|
git clone https://git.tirsystem.com/Tirsvad-Udemy-100-days-of-code/023-turtle-crossing.git
|
|
cd 023-turtle-crossing
|
|
python3.13 -m venv .venv
|
|
source .venv/bin/activate
|
|
python -m pip install --upgrade pip
|
|
python -m pip install --group dev
|
|
```
|
|
|
|
## Run and test
|
|
|
|
```bash
|
|
python src/main.py
|
|
python -m pytest
|
|
```
|
|
|
|
Next: [Play](Play).
|