You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

47 lines
1.4 KiB

@echo off
title GoFaster Development Environment
echo ========================================
echo GoFaster Development Environment
echo ========================================
echo.
echo Starting options:
echo 1. Full Stack (Frontend + Backend)
echo 2. Full Stack (Debug Mode)
echo 3. Full Stack (Watch Mode)
echo 4. Backend Only
echo 5. Frontend Only
echo 6. Exit
echo.
set /p choice="Please select (1-6): "
if "%choice%"=="1" (
echo [INFO] Starting full stack development environment...
powershell -ExecutionPolicy Bypass -File dev-full.ps1
) else if "%choice%"=="2" (
echo [INFO] Starting full stack development environment (Debug Mode)...
powershell -ExecutionPolicy Bypass -File dev-full.ps1 -Debug
) else if "%choice%"=="3" (
echo [INFO] Starting full stack development environment (Watch Mode)...
powershell -ExecutionPolicy Bypass -File dev-full.ps1 -Watch
) else if "%choice%"=="4" (
echo [INFO] Starting backend only...
powershell -ExecutionPolicy Bypass -File dev-full.ps1 -BackendOnly
) else if "%choice%"=="5" (
echo [INFO] Starting frontend only...
powershell -ExecutionPolicy Bypass -File dev-full.ps1 -FrontendOnly
) else if "%choice%"=="6" (
echo [INFO] Goodbye!
pause
exit /b 0
) else (
echo [ERROR] Invalid choice, please run the script again
pause
exit /b 1
)
echo.
echo Press any key to exit...
pause >nul