diff --git a/install.sh b/install.sh index 3ba472b..78adae5 100644 --- a/install.sh +++ b/install.sh @@ -13,6 +13,8 @@ JOB="@reboot /bin/sh /startup.sh" git clone https://gitea.eggtech.net/eggman20339/CNSA-276-FP.git /CNSA/CNSA-276-FP/ +sudo chmod 777 /CNSA/CNSA-276-FP/startup.sh + echo "Installation Complete! Rebooting..." sleep 2 sudo reboot 0 \ No newline at end of file diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..4e6294d --- /dev/null +++ b/readme.md @@ -0,0 +1,29 @@ +# Welcome + +### This project is a Door access system built on RPIs + +#### Getting Started + +1) Start by installing the latest version of raspianOS on your Raspberry Pi + 1) Get Raspberry Pi Imager from the web + 2) Launch it + 3) Choose your model + 4) Choose OS (Raspberry PI OS 64-bit) + 5) Select your SD card + 6) Press Ctrl+Shift+X + 7) Set a hostname + 8) Set a username and password + 9) Set locale settings + 10) Press Save + 11) Press the "Next" button + 12) Continue through any further prompts, keeping all settings that were set +2) Boot the Raspberry Pi +3) Open a command prompt on a seperate computer +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` +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` +11) alter any config needed \ No newline at end of file