diff options
author | Andreea Radoescu <randreea23@gmail.com> | 2024-11-17 19:32:43 +0100 |
---|---|---|
committer | Andreea Radoescu <randreea23@gmail.com> | 2024-11-17 19:32:43 +0100 |
commit | 74ea9751acb6d75e0f80fc37b84819a879aa63f9 (patch) | |
tree | aed3de60522661b795497a9b56600bca696f5de6 /gui-project/main_ui.py | |
parent | bda43e5bca1de67b7de7231a61bec9795a9d75cb (diff) |
change paths to flashcards repo to work in Docker, added Dockerfile that
installs app and runs the UI - requires the flashcard data to be mounted from outside
added docker-compose as a first draft
Diffstat (limited to 'gui-project/main_ui.py')
-rw-r--r-- | gui-project/main_ui.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gui-project/main_ui.py b/gui-project/main_ui.py index fcb1f5a..6bda821 100644 --- a/gui-project/main_ui.py +++ b/gui-project/main_ui.py @@ -5,8 +5,9 @@ import sys from cards import CardUI, CardComponent from flashcards import Session -FLASHCARDS_ROOT="/home/andreear/git/schwiizertuutsch/flashcards" -STATE_FILE="/home/andreear/git/flashcards/state.txt" +FLASHCARDS_ROOT="/app/schwiizertuutsch/flashcards" +STATE_FILE="/app/state.txt" +# FLASHCARDS_ROOT="/home/andreea/git/schwiizertuutsch/flashcards" class MainUI(): def __init__(self): |