Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Video AG Infrastruktur
website
Commits
bf3e7115
Commit
bf3e7115
authored
5 years ago
by
Christoph Rackwitz
Browse files
Options
Downloads
Patches
Plain Diff
requirements.txt und Bemerkung in der README
parent
3b75723b
No related branches found
No related tags found
1 merge request
!22
requirements.txt und Bemerkung in der README
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+6
-3
6 additions, 3 deletions
README.md
requirements.txt
+11
-0
11 additions, 0 deletions
requirements.txt
with
17 additions
and
3 deletions
README.md
+
6
−
3
View file @
bf3e7115
...
...
@@ -6,7 +6,7 @@ Hinweis: diese Variante startet eine lokale Testversion der Website, es sind nic
1.
Repo Clonen
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)
5.
`./run.py`
ausführen
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
### Abhängigkeiten
Notwendig:
*
python (Version 3)
*
sqlite
*
sqlite
3 (Python builtin)
*
python-flask
*
python-requests (wird vom L2P und vom Kalenderimport verwendet, kann nicht optional eingebunden werden)
*
git (zum Anzeigen der aktuellen Version)
...
...
@@ -43,10 +43,13 @@ Notwendig:
Optional (wird für einzelne Features benötigt):
*
python-lxml (Campus- und 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-mysql-connector (wenn MySQL als Datenbank verwendet werden soll)
*
python-coverage (Für Coverage Tests benötigt)
Kurzform unter Ubuntu:
`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`
This diff is collapsed.
Click to expand it.
requirements.txt
0 → 100644
+
11
−
0
View file @
bf3e7115
# required
flask
requests
# optional
lxml
pytz
ldap3
icalendar
mysql-connector-python
coverage
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment