11 lines
220 B
Bash
11 lines
220 B
Bash
#! /bin/sh
|
|
|
|
if test ! -f /loomio/storage/migrations_ran; then
|
|
echo "first deploy, running migrations..."
|
|
rake db:setup
|
|
touch /loomio/storage/migrations_ran
|
|
fi
|
|
|
|
echo "starting loomio!"
|
|
/loomio/docker_start.sh
|