Add Windows 7 deploy bundle pipeline
Self-contained zip (dist/avtoambor-deploy.zip) for end users on Windows 7: double-click install.bat to install Node 16, then start.bat to launch the server. start.bat self-relaunches minimized so the console window stays out of the way. Node is pinned to 16.x and several deps downgraded for Win7 compatibility; the unsupported View Transitions hook is dropped from the root layout. make bundle wraps scripts/make-bundle.sh. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
12
Makefile
12
Makefile
@ -1,4 +1,4 @@
|
||||
.PHONY: help install run build db-init db-reset docker-build docker-shell clean clean-all
|
||||
.PHONY: help install run build db-init db-reset docker-build docker-shell clean clean-all bundle bundle-clean
|
||||
|
||||
DC := docker compose
|
||||
|
||||
@ -17,6 +17,8 @@ help:
|
||||
@echo " make docker-shell Open an interactive bash shell in the container"
|
||||
@echo " make clean Remove node_modules and build/ (keeps data/)"
|
||||
@echo " make clean-all Also wipe data/ (destroys the DB)"
|
||||
@echo " make bundle Produce dist/avtoambor-deploy.zip for Windows 7"
|
||||
@echo " make bundle-clean Remove dist/"
|
||||
@echo ""
|
||||
|
||||
install:
|
||||
@ -54,3 +56,11 @@ clean:
|
||||
clean-all: clean
|
||||
@rm -rf data
|
||||
@echo "wiped data/ as well."
|
||||
|
||||
# Windows 7 deploy bundle. Must be run with Node 16 active (.nvmrc).
|
||||
bundle:
|
||||
@bash scripts/make-bundle.sh
|
||||
|
||||
bundle-clean:
|
||||
@rm -rf dist
|
||||
@echo "removed dist/"
|
||||
|
||||
Reference in New Issue
Block a user