midah's picture
AI Training Data Deals Dashboard with automated discovery, extraction pipeline, and MCP integration
0efb0d1
#!/bin/bash
# Setup script for automatic Prisma client generation
set -e
echo "๐Ÿ”ง Setting up project..."
# Generate Node.js Prisma client
echo "๐Ÿ“ฆ Generating Node.js Prisma client..."
npx prisma generate
# Generate Python Prisma client (if Python is available)
if command -v python3 &> /dev/null; then
echo "๐Ÿ Generating Python Prisma client..."
cd registry
python3 -m prisma generate 2>/dev/null || echo "โš ๏ธ Python Prisma client generation skipped (optional)"
cd ..
else
echo "โš ๏ธ Python not found, skipping Python Prisma client generation"
fi
echo "โœ… Setup complete!"