Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Getting started
Es werden zwei Terminal Instanzen benötigt. Eine für das Backend und eine für das Frontend.
## Backend
1. Wechseln in das Backend Verzeichnis
```bash
cd backend
```
2. Erstellen von python virtual environment
```bash
python -m venv env
```
3. Aktivieren des virtual environment
```bash
.\env\Scripts\activate.ps1
```
4. Installieren der benötigten Pakete
```bash
pip install -r reqs.txt
```
5. Starten des Backends
```bash
python src/app.py
```
## Frontend
**[Angular CLI](https://angular.dev/installation) muss installiert sein.**
1. Wechseln in das Frontend Verzeichnis
```bash
cd frontend
```
2. Ng serve starten
```bash
ng serve
```
## Anwendung
Die Anwendung ist unter [http://localhost:4200](http://localhost:4200) erreichbar.
Die Einführung in die Anwendung ist unter [http://localhost:4200/introduction](http://localhost:4200/introduction) erreichbar.
Das Spiel ist unter [http://localhost:4200/game](http://localhost:4200/game) erreichbar.