README.md aktualisiert

Anleitung zum korrekten Anlegen von venv angepasst.
This commit is contained in:
2026-05-11 19:11:44 +00:00
parent e9fe2173c1
commit b863e6c819

View File

@@ -8,8 +8,8 @@ Muster-Implementation durch die Lehrkraft in python3 mit Django
```bash
cd SGTMensa
python3 -m venv venv
source venv/bin/activate
python3 -m venv .venv
source .venv/bin/activate
pip install django
django-admin startproject mensa-core .
```
@@ -21,10 +21,10 @@ Bevor du auch nur eine Zeile Code schreibst, erstelle eine eigene Umgebung. Das
1. **Ordner erstellen:** `mkdir mensa_projekt` -> `cd mensa_projekt`
2. Virtuelle Umgebung erstellen:
- Windows: `python -m venv venv`
- Mac/Linux: `python3 -m venv venv`
- Mac/Linux: `python3 -m venv .venv`
3. Aktivieren:
- Windows: `venv\Scripts\activate`
- Mac/Linux: `source venv/bin/activate`
- Mac/Linux: `source .venv/bin/activate`
*Jetzt siehst du ein `(venv)` vor deiner Kommandozeile. Dein System ist nun "sauber".*