feat: updated README
This commit is contained in:
33
README.md
33
README.md
@@ -4,8 +4,37 @@ Die Webanwendung unterstützt das Korrekturmanagement von Materialien aus dem Fe
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Use the package manager [pip](https://pip.pypa.io/en/stable/) to install django.
|
```bash
|
||||||
|
git clone https://git.paul.nrw/Paul/korrekturmanagementsystem.git
|
||||||
|
cd ticketsystem
|
||||||
|
```
|
||||||
|
|
||||||
|
Virtual environment erstellen und aktivieren
|
||||||
|
```bash
|
||||||
|
python -m venv venv
|
||||||
|
# Windows
|
||||||
|
venv\Scripts\activate
|
||||||
|
# macOS / Linux
|
||||||
|
source venv/bin/activate
|
||||||
|
```
|
||||||
|
Abhängigkeiten installieren
|
||||||
|
```bash
|
||||||
|
pip install -r requirements.txt
|
||||||
|
```
|
||||||
|
|
||||||
|
Datenbank einrichten
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pip install django
|
python manage.py makemigrations
|
||||||
|
python manage.py migrate
|
||||||
|
```
|
||||||
|
|
||||||
|
Entwicklungsserver starten
|
||||||
|
```bash
|
||||||
|
python manage.py runserver
|
||||||
|
```
|
||||||
|
Tailwindcss CLI installieren und CSS generieren
|
||||||
|
```bash
|
||||||
|
npm install tailwindcss @tailwindcss/cli
|
||||||
|
npx @tailwindcss/cli -i ticketsystem/static/css/style.css -o ticketsystem/static/css/tailwind.css
|
||||||
```
|
```
|
||||||
@@ -50,6 +50,7 @@ class Ticket(models.Model):
|
|||||||
]
|
]
|
||||||
|
|
||||||
MATERIAL_CHOICES = [
|
MATERIAL_CHOICES = [
|
||||||
|
("script", "Skript"),
|
||||||
("learning_sprint", "Learning Sprint"),
|
("learning_sprint", "Learning Sprint"),
|
||||||
("ilse", "Intensive Live Session"),
|
("ilse", "Intensive Live Session"),
|
||||||
("video", "Video"),
|
("video", "Video"),
|
||||||
|
|||||||
Reference in New Issue
Block a user