OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/docker/dev/scripts/backend

17 lines
281 B

#!/bin/sh
echo "Waiting for bundle installation and db setup to finish..."
touch tmp/.seeding_status
(tail -f -n0 tmp/.seeding_status & ) | timeout 240 grep -q done
if [ ! $? -eq 0 ]
then
echo "DB not ready"
exit 1
fi
rm -rf tmp/*
bundle exec rails server thin -b 0.0.0.0