From ae1fcdfc5477dda3c7963b9e68f953285a0cce12 Mon Sep 17 00:00:00 2001 From: EggMan20339 <99349302+EggMan20339@users.noreply.github.com> Date: Mon, 6 May 2024 23:42:02 -0400 Subject: [PATCH] i forgor screen install --- install.sh | 3 ++- readme.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 78adae5..376f9f5 100644 --- a/install.sh +++ b/install.sh @@ -1,9 +1,10 @@ #!/bin/sh sudo apt-get update -sudo apt-get upgrade +sudo apt-get upgrade -y sudo apt-get update sudo apt-get install python3-psycopg2 -y +sudo apt-get install screen -y # Define your job JOB="@reboot /bin/sh /startup.sh" diff --git a/readme.md b/readme.md index 4e6294d..b55f9ee 100644 --- a/readme.md +++ b/readme.md @@ -22,7 +22,7 @@ 4) Ping the hostname set in 1.vii to find the IPv4 address (might need `-4` flag) 5) SSH into the RPI (Raspberry Pi) 6) run `git clone https://gitea.eggtech.net/eggman20339/CNSA-276-FP.git` -7) run `sudo chmod 777 CNSA/CNSA-276-FP/install.sh && ./CNSA/CNSA-276-FP/install.sh` +7) run `sudo chmod 777 CNSA-276-FP/install.sh && ./CNSA-276-FP/install.sh` 8) The script should take care of the rest, the RPI will restart and then auto start the program 9) after reboot, to edit the config, SSH back in and navigate to `/CNSA/CNSA-276-FP/` 10) run `nano config.ini`