#!/bin/bash
mkdir -p /migrations/* /app/db/migrate/
cp -r /migrations/* /app/db/migrate/
RAILS_ENV=$ENV ./bin/rails db:migrate
./bin/rails server -e $ENV -b $IP
