32 lines
722 B
Batchfile
32 lines
722 B
Batchfile
@echo off
|
|
echo 🚀 Setting up NeoScan Physician App...
|
|
|
|
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 ^>= 18 first.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo ✅ Node.js version:
|
|
node --version
|
|
|
|
REM Install dependencies
|
|
echo 📦 Installing dependencies...
|
|
npm install
|
|
|
|
if %errorlevel% neq 0 (
|
|
echo ❌ Failed to install dependencies.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo ✅ Setup completed successfully!
|
|
echo.
|
|
echo 🎯 Next steps:
|
|
echo 1. Start the development server: npm start
|
|
echo 2. Run on Android: npm run android
|
|
echo.
|
|
echo 📱 The app will open with a login screen. Use any credentials to proceed to the dashboard.
|
|
pause |