Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 238 Bytes
sleep 10
if psql -h postgres -U feedbin -lqt | cut -d \| -f 1 | grep -qw feedbin_production; then
echo "Not running db:setup"
else
echo "Running db:setup"
bundle exec rake db:setup
fi
bundle exec foreman start &
rackup -o 0.0.0.0
You can’t perform that action at this time.