mirror of
https://github.com/apache/superset.git
synced 2026-04-07 18:35:15 +00:00
33 lines
964 B
Bash
Executable File
33 lines
964 B
Bash
Executable File
#!/bin/bash
|
|
# Setup script for Superset Codespaces development environment
|
|
|
|
echo "🔧 Setting up Superset development environment..."
|
|
|
|
# The universal image has most tools, just need Superset-specific libs
|
|
echo "📦 Installing Superset-specific dependencies..."
|
|
sudo apt-get update
|
|
sudo apt-get install -y \
|
|
libsasl2-dev \
|
|
libldap2-dev \
|
|
libpq-dev \
|
|
tmux \
|
|
gh
|
|
|
|
# Install uv for fast Python package management
|
|
echo "📦 Installing uv..."
|
|
curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
|
|
# Add cargo/bin to PATH for uv
|
|
echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.bashrc
|
|
echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.zshrc
|
|
|
|
# Install Claude Code CLI via npm
|
|
echo "🤖 Installing Claude Code..."
|
|
npm install -g @anthropic-ai/claude-code
|
|
|
|
# Make the start script executable
|
|
chmod +x .devcontainer/start-superset.sh
|
|
|
|
echo "✅ Development environment setup complete!"
|
|
echo "🚀 Run '.devcontainer/start-superset.sh' to start Superset"
|