13 lines
325 B
Bash
Executable File
13 lines
325 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)
|
|
echo "Checking for admin user..."
|
|
node dist/scripts/seed-admin.js
|
|
|
|
# Start the application
|
|
echo "Starting NestJS application..."
|
|
exec node dist/src/main.js
|