Run dev on host Node 16 and add deploy patch script
Switch make install/run/build/db-* off docker compose onto the host's Node (via nvm + .nvmrc). better-sqlite3 7.6.2 doesn't build against Node 20, and the Dockerfile was still pinned to node:20 while the rest of the project was downgraded to Node 16 in the Win7 bundle commit; host execution avoids that mismatch. Also adds scripts/make-patch.sh (make patch) to produce a small build-only update zip for an already-installed Win7 target, ignores dist/, and points start.bat at the installed Chrome PWA shortcut instead of opening a normal browser tab. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@ -34,7 +34,8 @@ set "PORT=3000"
|
||||
set "HOST=0.0.0.0"
|
||||
set "ORIGIN=http://localhost:3000"
|
||||
|
||||
start "" http://localhost:3000
|
||||
REM start "" http://localhost:3000
|
||||
"C:\Program Files\Google\Chrome\Application\chrome_proxy.exe" --profile-directory=Default --app-id=jndfkokbljfmkpnammckejpeijmbbhhe
|
||||
|
||||
echo Сервер запущен на http://localhost:3000
|
||||
echo Закройте это окно, чтобы остановить программу.
|
||||
|
||||
Reference in New Issue
Block a user