31 lines
627 B
Batchfile
31 lines
627 B
Batchfile
@echo off
|
|
echo Setting up CoreSync React Project...
|
|
echo.
|
|
|
|
REM Check if Node.js is installed
|
|
node --version >nul 2>&1
|
|
if %errorlevel% neq 0 (
|
|
echo Node.js is not installed. Please install Node.js first.
|
|
echo Download from: https://nodejs.org/
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo Node.js found. Installing dependencies...
|
|
npm install
|
|
|
|
if %errorlevel% neq 0 (
|
|
echo Failed to install dependencies.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo.
|
|
echo Dependencies installed successfully!
|
|
echo.
|
|
echo To start the development server, run:
|
|
echo npm run dev
|
|
echo.
|
|
echo The application will be available at: http://localhost:5173
|
|
echo.
|
|
pause |