Skip to content

Commit

Permalink
maybe fix windows script
Browse files Browse the repository at this point in the history
  • Loading branch information
nofurtherinformation committed Aug 26, 2024
1 parent 168cd48 commit a6fc03b
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions setup-windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,10 @@ if not exist ".\node-v18.17.1-win-x64\node.exe" (
del nodejs.zip
)

REM Add the local Node.js to the PATH
set PATH=%CD%\node-v18.17.1-win-x64;%PATH%

REM Install npm dependencies
echo Installing npm dependencies...
.\node-v18.17.1-win-x64\npm install

REM Run the Next.js development server
echo Starting Next.js...
.\node-v18.17.1-win-x64\npx next dev
echo Installing npm dependencies and running applicaiton...
.\node-v18.17.1-win-x64\npx pnpm install && .\node-v18.17.1-win-x64\npx pnpm dev

ENDLOCAL
pause

0 comments on commit a6fc03b

Please sign in to comment.