#!/bin/bash -e

echo "Preparing the database..."
./bin/rails db:prepare
# for resque container (pro), since it won't be created automatically like it is when we call bin/rails server
mkdir -p tmp/pids

exec "${@}"
