Websites/bin/dev

12 lines
225 B
Plaintext
Raw Permalink Normal View History

2024-05-03 03:04:43 +00:00
#!/usr/bin/env sh
if ! gem list foreman -i --silent; 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 "$@"