demarches/bin/dev

12 lines
259 B
Text
Raw Permalink Normal View History

2024-06-08 17:56:04 +00:00
#!/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}"
2024-09-01 20:22:01 +00:00
exec foreman start -f Procfile.dev --env /dev/null "$@"