File: dev

package info (click to toggle)
ruby-cssbundling-rails 1.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 192 kB
  • sloc: ruby: 184; javascript: 15; sh: 6; makefile: 4
file content (11 lines) | stat: -rwxr-xr-x 259 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/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 --env /dev/null "$@"