app.kluk.fr/bin/dev
Christophe Robillard 976ade253c use foreman
2025-12-01 10:16:33 +01:00

11 lines
259 B
Bash
Executable file

#!/usr/bin/env sh
if gem list --no-installed --exact --silent foreman; then
echo "Installing foreman..."
gem install foreman
fi
# Default to port 3000 if not specified
export PORT="${PORT:-3000}"
exec foreman start -f Procfile.dev --env /dev/null "$@"