forked from veda/www_veda_2025
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			566 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			566 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
# VEDA 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 |