#!/bin/bash
set -e

echo "Running database migrations..."
php artisan migrate --force

echo "Seeding products..."
php artisan db:seed --class=TeraboltProductSeeder --force

echo "Starting Laravel server..."
exec php artisan serve --host=0.0.0.0 --port=8000
