14 lines
426 B
Bash
Executable File
14 lines
426 B
Bash
Executable File
#!/bin/sh
|
|
# Backend entrypoint script - seeds admin on first run
|
|
|
|
echo "Starting Placebo.mk Backend..."
|
|
|
|
# Run admin seed script (idempotent - won't recreate if exists)
|
|
# Temporarily disabled to fix startup issues
|
|
# echo "Checking for admin user..."
|
|
# node dist/scripts/seed-admin.js || echo "Warning: Admin seed failed, continuing..."
|
|
|
|
# Start the application
|
|
echo "Starting NestJS application..."
|
|
exec node dist/src/main.js
|