aboutsummaryrefslogblamecommitdiffstats
path: root/bin/dev
blob: a4e05fa1459cefd2133017767f38f4b39e350d4d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                       
#!/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 "$@"