From 546d9e8829f9cca40f14dca0d5f353fdaeb80297 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Fri, 31 Mar 2023 23:45:17 -0400 Subject: [PATCH] Implement setup and update scripts --- Client/setup.sh | 10 ++++++++++ Client/update.sh | 15 +++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 Client/setup.sh create mode 100644 Client/update.sh diff --git a/Client/setup.sh b/Client/setup.sh new file mode 100644 index 0000000..690352c --- /dev/null +++ b/Client/setup.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +apt-get update +apt-get upgrade -y + +apt-get install -y nodejs npm libopus-dev gcc make alsa-utils libasound2 libasound2-dev libpulse-dev pulseaudio apulse + +pulseaudio + +npm i \ No newline at end of file diff --git a/Client/update.sh b/Client/update.sh new file mode 100644 index 0000000..2dc42e7 --- /dev/null +++ b/Client/update.sh @@ -0,0 +1,15 @@ +#!/bin/bash +# Stating Message +echo "" + +# TODO - Add an updater for Stable Diffusion API + +# Update the git Repo +git fetch -a -p +git pull + +# Install any new libraries +npm i + +# Update complete message +echo "" \ No newline at end of file