mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 19:01:54 +00:00
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
638 B
Bash
Executable File
26 lines
638 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
APP="${APP:-web-app-matomo}"
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
REPO_ROOT="$(cd "${SCRIPT_DIR}/../.." && pwd)"
|
|
|
|
# pkgmgr images may reset the working directory before invoking this script.
|
|
cd "${REPO_ROOT}"
|
|
bash "${REPO_ROOT}/scripts/install/package.sh"
|
|
|
|
make install
|
|
make dev-environment-bootstrap
|
|
make up
|
|
make test
|
|
make test-local-dedicated APP="${APP}"
|
|
make trust-ca
|
|
|
|
MATOMO_URL="https://matomo.infinito.example"
|
|
|
|
echo "Checking matomo URL: ${MATOMO_URL}"
|
|
curl -sS -o /dev/null -w '%{http_code}\n' "${MATOMO_URL}" | grep -qx '200'
|
|
|
|
make down
|
|
make dev-environment-teardown
|