mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2026-05-19 12:50:11 -05:00
64b5fbe45d
- 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
25 lines
600 B
Bash
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."
|