Refactor PVC models and update tests
- 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.
This commit is contained in:
@@ -16,11 +16,15 @@ also present).
|
||||
|
||||
```bash
|
||||
pnpm install # install deps
|
||||
pnpm dev # vite dev server on 0.0.0.0:5173
|
||||
pnpm build # production build -> dist/ (root is src/, see vite.config.js)
|
||||
pnpm preview # preview the production build
|
||||
./dev.sh # single server: Laravel on :8000 + both frontends in `vite build --watch`
|
||||
./build.sh # build configuratore + app cliente into backoffice/public
|
||||
pnpm build # configuratore only -> backoffice/public/configuratore (root is src/)
|
||||
```
|
||||
|
||||
Everything is served by Laravel on one origin: configuratore at `/configuratore/?sistema=…&type=…`, quote
|
||||
app (`backoffice/cliente`, Vue) at `/preventivo/`, API at `/api`, admin at `/admin`. The `index.html` of each
|
||||
frontend is served by routes in `backoffice/routes/web.php`; there is no HMR, reload after the rebuild.
|
||||
|
||||
There is no test suite (`pnpm test` is a stub that exits with an error) and no linter configured.
|
||||
|
||||
### Regenerating PVC price lists
|
||||
|
||||
Reference in New Issue
Block a user