#!/usr/bin/env bash
set -e

DIR="$(cd "$(dirname "$0")" && pwd)"

# Stop localstack container when the shell is closed.
onExit() {
  $DIR/localstack-stop
}
trap onExit EXIT

# `source` used to hoist exported variables into this scope
source $DIR/localstack-start

$DIR/server-start
