#!/bin/bash

if [ "$SHOW_PRODUCTION_IMAGES"=="" ]; then
  echo "You're not showing production images. "
  echo
  echo "If you want to, then run like this instead:"
  echo
  echo "$ SHOW_PRODUCTION_IMAGES=1 ./startup.sh"
else
  echo "Showing production images"
fi
echo
bundle install
bundle exec rails s thin -p 3015

#!/bin/bash

if [ "$SHOW_PRODUCTION_IMAGES"=="" ]; then
  echo "You're not showing production images. "
  echo
  echo "If you want to, then run like this instead:"
  echo
  echo "$ SHOW_PRODUCTION_IMAGES=1 ./startup.sh"
else
  echo "Showing production images"
fi
echo
bundle install
bundle exec rails s thin -p 3020

Change whitehall to run on port 3020.
Change whitehall to run on port 3020.

Port 3015 had already been claimed by migratorator in the development
Procfile[1] so we've moved to port 3020[2].

[1] https://github.com/alphagov/development/blob/master/Procfile
[2]
https://github.com/alphagov/development/commit/fccf1e4c3bafbe403c7f1d675afa6675d189440e
