Files
TimeTracker/scripts/start-local-test.sh
T
Dries Peeters 64b5fbe45d chore: move scripts to scripts/
- Move Python and shell scripts (apply_migration, check_routes, run_tests, etc.) to scripts/
- Move setup-https-mkcert and start-https (bat/sh) to scripts/
- Update start-local-test.bat and start-local-test.sh
2026-03-15 10:16:22 +01:00

25 lines
600 B
Bash

#!/bin/bash
echo "Starting TimeTracker Local Test Environment with SQLite..."
echo
# Check if docker-compose is available
if ! command -v docker-compose &> /dev/null; then
echo "Error: docker-compose is not installed or not in PATH"
echo "Please install Docker Compose"
exit 1
fi
# Check if Docker is running
if ! docker info &> /dev/null; then
echo "Error: Docker is not running"
echo "Please start Docker"
exit 1
fi
echo "Building and starting containers..."
docker-compose -f docker/docker-compose.local-test.yml up --build
echo
echo "Local test environment stopped."