Added update script for server

This commit is contained in:
Peter Edmond 2025-05-28 20:05:57 +01:00
parent f265303b20
commit 0a94ae36dc

10
update_code.sh Normal file
View File

@ -0,0 +1,10 @@
#!/bin/bash
#Not that this should be run in order to update the code during updates
rm -Rf ./EoQ_Supporting_Files
git clone https://git.telos.digital/PeterEdmond/EoQ_Supporting_Files.git
rm -Rf /var/www/html/surveys
mv ./EoQ_Supporting_Files /var/www/html/surveys