- Updated the PVC models in the database and adjusted the tests accordingly to reflect the new model counts and codes. - Removed deprecated models from the JSON data for PVC systems. - Added new GLB models for "scorrevole_sf_3_ante" and "scorrevole_sf_4_ante". - Enhanced the development scripts to streamline the build process for both frontends. - Updated documentation to reflect changes in the development environment and deployment process. - Improved the styling of texture radio options for better visibility. - Fixed URL handling in the configurator to ensure proper routing and API calls.
14 lines
552 B
Bash
Executable File
14 lines
552 B
Bash
Executable File
#!/bin/bash
|
|
# Compila i due frontend dentro backoffice/public, da cui li serve Laravel:
|
|
# configuratore 3D -> backoffice/public/configuratore (URL /configuratore/)
|
|
# app cliente -> backoffice/public/preventivo (URL /preventivo/)
|
|
set -euo pipefail
|
|
|
|
ROOT="$(cd "$(dirname "$0")" && pwd)"
|
|
|
|
[ -d "$ROOT/node_modules" ] || (cd "$ROOT" && pnpm install)
|
|
[ -d "$ROOT/backoffice/cliente/node_modules" ] || (cd "$ROOT/backoffice/cliente" && pnpm install)
|
|
|
|
(cd "$ROOT" && pnpm build)
|
|
(cd "$ROOT/backoffice/cliente" && pnpm build)
|