#!/bin/bash

./build_local
local/exist-db/bin/startup.sh | tee output.log &
while [ $(curl --head --silent http://localhost:8080 | grep -c "200 OK") == 0 ]; do sleep 2s; done
local/exist-db/bin/shutdown.sh
