From 31385825927242330443d97f9323d713ffc2151e Mon Sep 17 00:00:00 2001 From: Heuzef Date: Sat, 21 Oct 2023 20:09:02 +0200 Subject: [PATCH 1/5] Update README.md --- README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 68a5cc0..fdcb45a 100644 --- a/README.md +++ b/README.md @@ -45,34 +45,34 @@ sudo apt install nodm git clone https://git.heuzef.com/Flutter/eggnoggpi.git ``` -## Clone the repo of project - +## Configure nodm You can then configure nodm or just use the configuration file with this repo ``` -cp /home/pi/eggnoggpi/files/etc/default/* /etc/default/ +sudo cp /home/pi/eggnoggpi/files/etc/default/* /etc/default/ ``` -## Download eggnoggplus - -To be continued +## Install eggnoggplus -Then copy the setting file ``` -cp -R files/home/pi/.madgarden /home/pi/ +sudo cp -r /home/pi/eggnoggpi/files/home/eggnoggplus-linux/ /home/pi/ +sudo chown pi:pi -R /home/pi/eggnoggplus-linux/ +cp -R /home/pi/eggnoggpi/files/home/.madgarden/ /home/pi/ ``` ## Install the service To allow eggnogg to start on boot, we install it as a systemd service, you can write your own or just use the one with this repos + ``` - cp files/etc/systemd/system/eggnoggpi.service /etc/systemd/system/eggnoggpi.service - systemctl daemon-reload - systemctl enable eggnoggpi - systemctl start eggnoggpi +sudo cp /home/pi/eggnoggpi/files/etc/systemd/system/eggnoggpi.service /etc/systemd/system/eggnoggpi.service +sudo systemctl daemon-reload +sudo systemctl enable eggnoggpi +sudo systemctl start eggnoggpi ``` + If eggnoggpi doesn't start with the pi, add this little hack too ``` - echo "@reboot root /sbin/service eggnoggpi start" >> /etc/crontab +sudo echo "@reboot root /sbin/service eggnoggpi start" >> /etc/crontab ``` From de089a0c4ba37caa7cebc62a91ad6b46e4e8b106 Mon Sep 17 00:00:00 2001 From: Heuzef Date: Sun, 22 Oct 2023 13:33:16 +0200 Subject: [PATCH 2/5] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fdcb45a..0c34c05 100644 --- a/README.md +++ b/README.md @@ -33,10 +33,10 @@ apt install box64-arm64 -y ## Setup the screen -Since we installed raspbian lite on the pi, we'll need to install xorg and set it to auto login on boot, to achieve that, we'll install nodm and xutils +Since we installed raspbian lite on the pi, we'll need to install xorg and set it to auto login on boot, to achieve that, we'll install nodm. ``` -sudo apt install nodm +sudo apt install nodm libsdl2-2.0-0 ``` ## Clone the repo of project From 060c27bcc240b6ac4facf20f44faeae0ef0b20fc Mon Sep 17 00:00:00 2001 From: Heuzef Date: Sun, 22 Oct 2023 13:35:28 +0200 Subject: [PATCH 3/5] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 0c34c05..e7d6056 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,7 @@ sudo cp /home/pi/eggnoggpi/files/etc/default/* /etc/default/ ``` sudo cp -r /home/pi/eggnoggpi/files/home/eggnoggplus-linux/ /home/pi/ +sudo chmod +x /home/pi/eggnoggplus-linux/eggnoggplus/ sudo chown pi:pi -R /home/pi/eggnoggplus-linux/ cp -R /home/pi/eggnoggpi/files/home/.madgarden/ /home/pi/ ``` From c882baa40682a0010c18c6bac75ab1d97ae7cbad Mon Sep 17 00:00:00 2001 From: Heuzef Date: Sun, 22 Oct 2023 13:47:23 +0200 Subject: [PATCH 4/5] Update README.md --- README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.md b/README.md index e7d6056..de82cf0 100644 --- a/README.md +++ b/README.md @@ -71,9 +71,5 @@ sudo cp /home/pi/eggnoggpi/files/etc/systemd/system/eggnoggpi.service /etc/syste sudo systemctl daemon-reload sudo systemctl enable eggnoggpi sudo systemctl start eggnoggpi -``` - -If eggnoggpi doesn't start with the pi, add this little hack too -``` sudo echo "@reboot root /sbin/service eggnoggpi start" >> /etc/crontab ``` From 4f4b3d24c1c45ae94b7e6280541639ef669e688e Mon Sep 17 00:00:00 2001 From: Heuzef Date: Mon, 23 Oct 2023 21:04:24 +0200 Subject: [PATCH 5/5] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index de82cf0..52bf9bc 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,10 @@ sudo chown pi:pi -R /home/pi/eggnoggplus-linux/ cp -R /home/pi/eggnoggpi/files/home/.madgarden/ /home/pi/ ``` +## Configure controller + +... + ## Install the service To allow eggnogg to start on boot, we install it as a systemd service, you can write your own or just use the one with this repos