Revert to Naudiodon and Update Config

- Changed to .env file
This commit is contained in:
Logan Cusano
2023-04-30 03:52:20 -04:00
parent b248e7f40e
commit 95c99971a2
7 changed files with 2601 additions and 49 deletions

View File

@@ -1,10 +1,26 @@
#!/bin/bash
# Check if the user is root
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
fi
# Check for updates
apt-get update
# Install Node Repo
curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash -
# Update the system
apt-get update
apt-get upgrade -y
# Install the necessary packages
apt-get install -y nodejs npm libopus-dev gcc make alsa-utils libasound2 libasound2-dev libpulse-dev pulseaudio apulse
# Ensure pulse audio is running
pulseaudio
# Install the node packages from the project
npm i