Files
Eric F d398a6ced2 Add extracted tools: CitrineOS, OpenOCPP, ShapeShifter
- CitrineOS core extracted (CSMS OCPP 2.0.1)
- OpenOCPP extracted (firmware OCPP 1.6J/2.0.1)
- ShapeShifter library installed (pip install -e)
- ShapeShifter specification extracted
- EVerest extracted

TODO updated with progress
2026-06-08 00:38:27 -04:00

21 lines
465 B
Bash
Executable File

#!/bin/sh
set -e
# Default to migrate if DB_STRATEGY is not set
DB_STRATEGY=${DB_STRATEGY:-migrate}
echo "Executing DB strategy: $DB_STRATEGY"
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
if [ "$DB_STRATEGY" = "migrate" ]; then
(cd "$SCRIPT_DIR" && pnpm run migrate)
else
echo "Unknown DB_STRATEGY: $DB_STRATEGY. Defaulting to migrate."
(cd "$SCRIPT_DIR" && pnpm run migrate)
fi
echo "Starting application..."
exec node "$SCRIPT_DIR/dist/index.js"