loomio/entrypoint.sh

11 lines
220 B
Bash
Raw Normal View History

2022-02-08 16:09:18 +00:00
#! /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