mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2026-05-18 12:19:18 -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
29 lines
664 B
Batchfile
29 lines
664 B
Batchfile
@echo off
|
|
echo Starting TimeTracker Local Test Environment with SQLite...
|
|
echo.
|
|
|
|
REM Check if docker-compose is available
|
|
docker-compose --version >nul 2>&1
|
|
if %errorlevel% neq 0 (
|
|
echo Error: docker-compose is not installed or not in PATH
|
|
echo Please install Docker Desktop or Docker Compose
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
REM Check if Docker is running
|
|
docker info >nul 2>&1
|
|
if %errorlevel% neq 0 (
|
|
echo Error: Docker is not running
|
|
echo Please start Docker Desktop
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo Building and starting containers...
|
|
docker-compose -f docker/docker-compose.local-test.yml up --build
|
|
|
|
echo.
|
|
echo Local test environment stopped.
|
|
pause
|