This commit is contained in:
Your Name
2024-02-15 21:16:05 -06:00
parent 16cba7fca5
commit a5adf74b23
28 changed files with 6293 additions and 0 deletions

14
shell/dependencies.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
# Check if nodejs is installed
if ! which nodejs > /dev/null; then
# Node.js is not installed, setting up the NodeSource Node.js 21.x repo
echo "Node.js not found. Setting up NodeSource Node.js 21.x repository..."
curl -fsSL https://deb.nodesource.com/setup_21.x | sudo -E bash -
# Install Node.js from the NodeSource repository
echo "Installing Node.js..."
sudo apt-get install -y nodejs npm
fi