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