Files
suggest/bin/dev
2024-02-03 08:34:36 -05:00

12 lines
243 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 "$@"