feat: add EURUSD.csv data loading on Docker startup

This commit is contained in:
Marko Djordjevic 2026-02-12 18:48:54 +01:00
parent 011bea2350
commit 6522f501b6
3 changed files with 132 additions and 1 deletions

11
scripts/startup.sh Normal file
View file

@ -0,0 +1,11 @@
#!/bin/sh
set -e
echo "Running database migrations..."
# Migrations are run automatically by the app on startup
echo "Loading initial data if needed..."
node /app/scripts/load-initial-data.js
echo "Starting application..."
exec node server.js