From 26ea541e37c4d2def3344f7e680916f8cebeb21b Mon Sep 17 00:00:00 2001 From: CAJNA Jarod Date: Fri, 2 Jun 2023 11:03:44 +0200 Subject: [PATCH] improve directory tree --- {DumpDir => BadgeCloner/DumpDir}/.gitkeep | 0 key-file.txt => BadgeCloner/key-file.txt | 0 {res => BadgeCloner/res}/css/bulma/bulma.min.css | 0 server.py => BadgeCloner/server.py | 0 {templates => BadgeCloner/templates}/index.html | 0 {templates => BadgeCloner/templates}/readBadge.html | 0 {templates => BadgeCloner/templates}/wait.html | 0 {templates => BadgeCloner/templates}/writeBadge.html | 0 install.sh | 2 +- 9 files changed, 1 insertion(+), 1 deletion(-) rename {DumpDir => BadgeCloner/DumpDir}/.gitkeep (100%) rename key-file.txt => BadgeCloner/key-file.txt (100%) rename {res => BadgeCloner/res}/css/bulma/bulma.min.css (100%) rename server.py => BadgeCloner/server.py (100%) rename {templates => BadgeCloner/templates}/index.html (100%) rename {templates => BadgeCloner/templates}/readBadge.html (100%) rename {templates => BadgeCloner/templates}/wait.html (100%) rename {templates => BadgeCloner/templates}/writeBadge.html (100%) diff --git a/DumpDir/.gitkeep b/BadgeCloner/DumpDir/.gitkeep similarity index 100% rename from DumpDir/.gitkeep rename to BadgeCloner/DumpDir/.gitkeep diff --git a/key-file.txt b/BadgeCloner/key-file.txt similarity index 100% rename from key-file.txt rename to BadgeCloner/key-file.txt diff --git a/res/css/bulma/bulma.min.css b/BadgeCloner/res/css/bulma/bulma.min.css similarity index 100% rename from res/css/bulma/bulma.min.css rename to BadgeCloner/res/css/bulma/bulma.min.css diff --git a/server.py b/BadgeCloner/server.py similarity index 100% rename from server.py rename to BadgeCloner/server.py diff --git a/templates/index.html b/BadgeCloner/templates/index.html similarity index 100% rename from templates/index.html rename to BadgeCloner/templates/index.html diff --git a/templates/readBadge.html b/BadgeCloner/templates/readBadge.html similarity index 100% rename from templates/readBadge.html rename to BadgeCloner/templates/readBadge.html diff --git a/templates/wait.html b/BadgeCloner/templates/wait.html similarity index 100% rename from templates/wait.html rename to BadgeCloner/templates/wait.html diff --git a/templates/writeBadge.html b/BadgeCloner/templates/writeBadge.html similarity index 100% rename from templates/writeBadge.html rename to BadgeCloner/templates/writeBadge.html diff --git a/install.sh b/install.sh index dbd19cf..f94a158 100644 --- a/install.sh +++ b/install.sh @@ -54,6 +54,6 @@ echo "@chromium-browser --incognito --kiosk http://localhost:5000" | sudo tee -a echo "Les lignes ont été ajoutées à /etc/xdg/lxsession/LXDE-pi/autostart." # Créer le fichier launcher.sh -echo "cd /home/$USER/BadgeCloner" > ~/launcher.sh +echo "cd /home/$USER/BadgeCloner/BadgeCloner" > ~/launcher.sh echo "python3 server.py" >> ~/launcher.sh echo "Le fichier launcher.sh a été créé." \ No newline at end of file