-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup-dev.sh
More file actions
33 lines (25 loc) · 848 Bytes
/
Copy pathsetup-dev.sh
File metadata and controls
33 lines (25 loc) · 848 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
# Development environment setup script for Pane
echo "🔧 Setting up Pane development environment..."
# Check if homebrew is installed
if ! command -v brew &> /dev/null; then
echo "❌ Homebrew is required. Please install from https://brew.sh"
exit 1
fi
# Ensure python-setuptools is installed (fixes distutils issue)
if ! brew list python-setuptools &> /dev/null; then
echo "📦 Installing python-setuptools..."
brew install python-setuptools
fi
# Check Node version
NODE_VERSION=$(node -v)
echo "📌 Using Node.js $NODE_VERSION"
# Check if pnpm is installed
if ! command -v pnpm &> /dev/null; then
echo "📦 Installing pnpm..."
npm install -g pnpm
fi
# Run the setup
echo "🚀 Running pnpm setup..."
pnpm -w run setup
echo "✅ Setup complete! You can now run 'pnpm dev' to start the application."