Skip to content
Snippets Groups Projects
Commit 40831019 authored by Jonathan Weth's avatar Jonathan Weth :keyboard: Committed by root
Browse files

Update README.md

parent f644031b
No related branches found
No related tags found
1 merge request!86Merge school-apps
......@@ -2,10 +2,11 @@
## Apps
siehe Wiki
## Installation
**Hinweis:** Es wird aktuell nur ein aktuelles Debian, Ubuntu, Linux Mint, etc. unterstützt.
**Hinweis:** Es wird aktuell nur ein aktuelles Debian, Ubuntu, Linux Mint, etc. unterstützt. Es werden Root-Rechte benötigt.
### Grundsystem
```
apt install python3 python3-dev python3-pip git mariadb-server python3-venv libldap2-dev libsasl2-dev libmysqlclient-dev
sudo apt install python3 python3-dev python3-pip git mariadb-server python3-venv libldap2-dev libsasl2-dev libmysqlclient-dev
```
### MySQL-Datenbank
......@@ -27,6 +28,11 @@ CREATE DATABASE Untis;
### UNTIS-Beispieldaten laden
1. PhpMyAdmin öffnen und die Datei untiskath.sql vom Forum importieren.
### SchoolApps clonen
```
git clone git@github.com:Katharineum/school-apps.git
```
### Django
- Zum Installationsordner wechseln
```
......@@ -41,7 +47,25 @@ pip install django-material
pip install django-filter
```
- `example_secure_settings.py` zu `secure_settings.py` kopieren und anpassen
### LDAP (info.katharineum.de)
### Submodules updaten
```
git submodule init
git submodule update
```
### Migrations auflösen
Leider kommt es bei einer Erstinstallation von SchoolApps immer zu Problemen mit den Migrations. Sollte es Schwierigkeiten geben, @hansegucker kontaktieren.
Für die Migration folgende Befehle im aktivierten VirtualEnv ausführen:
```
python3 schoolapps/manage.py makemigrations
python3 schoolapps/manage.py migrate
```
### Testlauf
## LDAP (info.katharineum.de)
#### Adresse vom Info aus:
localhost:389
......@@ -63,9 +87,3 @@ dc=skole,dc=skolelinux,dc=no
3. Verbindung in AD mit oben genannten Daten herstellen
### Submodules updaten
```
git submodule init
git submodule update
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment