diff --git a/docker-reset.sh b/docker-reset.sh new file mode 100755 index 0000000..b6fc7ce --- /dev/null +++ b/docker-reset.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +# Copyright (c) 2024 Pedro +# SPDX-License-Identifier: AGPL-3.0-or-later + +set -e +set -u +# DEBUG +#set -x + +main() { + # remove old database + sudo rm -v db/* + docker compose down + docker compose build + docker compose up +} + +main "${@}" + +# written in emacs +# -*- mode: shell-script; -*-