Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Video AG Infrastruktur
website
Commits
bf3e7115
Commit
bf3e7115
authored
Oct 15, 2019
by
Christoph Rackwitz
Browse files
requirements.txt und Bemerkung in der README
parent
3b75723b
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
bf3e7115
...
@@ -6,7 +6,7 @@ Hinweis: diese Variante startet eine lokale Testversion der Website, es sind nic
...
@@ -6,7 +6,7 @@ Hinweis: diese Variante startet eine lokale Testversion der Website, es sind nic
1.
Repo Clonen
1.
Repo Clonen
2.
Verzeichnis betreten
2.
Verzeichnis betreten
3.
(optional) config.py.example anpassen und als config.py neu speichern
3.
(optional) config.py.example anpassen und als config.py neu speichern
(z.B. DEBUG = True)
4.
Schauen, ob alle Dependencies erfüllt sind (siehe weiter unten)
4.
Schauen, ob alle Dependencies erfüllt sind (siehe weiter unten)
5.
`./run.py`
ausführen
5.
`./run.py`
ausführen
6.
Unter
[
http://localhost:5000
](
http://localhost:5000
)
ist die Website verfügbar
6.
Unter
[
http://localhost:5000
](
http://localhost:5000
)
ist die Website verfügbar
...
@@ -35,7 +35,7 @@ Origin stellt hier euren User da, Upstream das Original der Gruppe videoagwebsit
...
@@ -35,7 +35,7 @@ Origin stellt hier euren User da, Upstream das Original der Gruppe videoagwebsit
### Abhängigkeiten
### Abhängigkeiten
Notwendig:
Notwendig:
*
python (Version 3)
*
python (Version 3)
*
sqlite
*
sqlite
3 (Python builtin)
*
python-flask
*
python-flask
*
python-requests (wird vom L2P und vom Kalenderimport verwendet, kann nicht optional eingebunden werden)
*
python-requests (wird vom L2P und vom Kalenderimport verwendet, kann nicht optional eingebunden werden)
*
git (zum Anzeigen der aktuellen Version)
*
git (zum Anzeigen der aktuellen Version)
...
@@ -43,10 +43,13 @@ Notwendig:
...
@@ -43,10 +43,13 @@ Notwendig:
Optional (wird für einzelne Features benötigt):
Optional (wird für einzelne Features benötigt):
*
python-lxml (Campus- und RO-Import)
*
python-lxml (Campus- und RO-Import)
*
python-pytz (RO-Import)
*
python-pytz (RO-Import)
*
python-ldap (Login mit Fachschaftsaccount)
*
python-ldap
3
(Login mit Fachschaftsaccount)
*
python-icalendar (RO-Import, Kalenderimport für Sitzungsankündigungen)
*
python-icalendar (RO-Import, Kalenderimport für Sitzungsankündigungen)
*
python-mysql-connector (wenn MySQL als Datenbank verwendet werden soll)
*
python-mysql-connector (wenn MySQL als Datenbank verwendet werden soll)
*
python-coverage (Für Coverage Tests benötigt)
*
python-coverage (Für Coverage Tests benötigt)
Kurzform unter Ubuntu:
Kurzform unter Ubuntu:
`sudo apt install python3 python3-flask sqlite python3-requests python3-lxml python3-ldap3 python3-icalendar python3-mysql.connector`
`sudo apt install python3 python3-flask sqlite python3-requests python3-lxml python3-ldap3 python3-icalendar python3-mysql.connector`
Mit python-eigenem Paketmanager:
`pip install -r requirements.txt`
requirements.txt
0 → 100644
View file @
bf3e7115
# required
flask
requests
# optional
lxml
pytz
ldap3
icalendar
mysql-connector-python
coverage
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment