Add executable permissions for shell scripts - no need to run chmod +x anymore

This commit is contained in:
2025-08-14 15:12:21 +02:00
parent e384174d81
commit dba067b09f
3 changed files with 57 additions and 0 deletions

23
install.sh Executable file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
# Radiant Website - Installation Script
# This script installs all dependencies using pnpm
# Check if Node.js is installed
if ! command -v node &> /dev/null; then
echo "❌ Node.js is not installed. Please install Node.js first."
exit 1
fi
# Check if pnpm is installed
if ! command -v pnpm &> /dev/null; then
echo "📦 Installing pnpm..."
npm install -g pnpm
fi
echo "📋 Node.js version: $(node --version)"
echo "📋 pnpm version: $(pnpm --version)"
# Install dependencies
echo "📦 Installing project dependencies..."
pnpm install