main
 1#!/bin/sh
 2
 3# bin/server: Launch the application and any extra required processes locally.
 4
 5set -e
 6cd "$(dirname "$0")/.."
 7
 8PORT=${PORT:=3000}
 9PROCFILE=Procfile
10
11export PORT
12
13test -z "$RACK_ENV" && RACK_ENV='development'
14bin/update
15
16gem install foreman
17foreman start -e /dev/null -f $PROCFILE