#!/bin/sh # Check if TEST_MODE is set to "true" if [ "$TEST_MODE" = "true" ]; then echo "Running tests..." npm test else # Normal startup # Generate config.js from environment variables cat > config.js <