mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-07 21:38:14 -08:00
11 lines
225 B
Bash
Executable file
11 lines
225 B
Bash
Executable file
#!/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 "$@"
|