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
# Pemasangan
|
|
|
|
🌐 [English](Install) · [Dansk](Install-da) · **Bahasa Malaysia**
|
|
|
|
## Keperluan
|
|
|
|
- Python 3.13 atau lebih baharu dengan `tkinter`.
|
|
- `git`.
|
|
- Pilihan: Doxygen untuk dokumentasi sumber.
|
|
|
|
## 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
|
|
```
|
|
|
|
## Jalankan dan uji
|
|
|
|
```bash
|
|
python src/main.py
|
|
python -m pytest
|
|
```
|
|
|
|
Seterusnya: [Main](Play-ms).
|