nexusbert's picture
milestone2 commit
ee0bba4
raw
history blame contribute delete
455 Bytes
#!/bin/bash
set -e
echo "πŸš€ Starting StyleGPT Milestone 2..."
# Run migrations using compiled JS
if [ -f "dist/scripts/run-migrations.js" ]; then
echo "πŸ“¦ Running database migrations..."
node dist/scripts/run-migrations.js || echo "⚠️ Migrations completed or skipped"
else
echo "⚠️ Migration script not found, skipping..."
fi
# Start the application
echo "βœ… Starting server on port ${PORT:-7860}..."
exec node dist/index.js