18 lines
406 B
Bash
18 lines
406 B
Bash
#!/bin/bash
|
|
|
|
# Development container startup script
|
|
# This runs when the development container starts
|
|
|
|
echo "🚀 Starting development environment..."
|
|
|
|
# Ensure data directory exists
|
|
mkdir -p /app/data
|
|
|
|
# Create admin account if it doesn't exist
|
|
echo "🔧 Setting up admin account..."
|
|
node scripts/create-admin.js
|
|
|
|
# Start the development server
|
|
echo "✅ Starting development server..."
|
|
exec npm run dev
|