diff --git a/.env b/.env new file mode 100644 index 0000000..4e3e163 --- /dev/null +++ b/.env @@ -0,0 +1,2 @@ +# Ambiente di sviluppo locale (pnpm dev). Usato solo dal browser (nessun segreto). +VITE_PREVENTIVI_API_BASE=http://localhost:8000/api diff --git a/.env.production.example b/.env.production.example new file mode 100644 index 0000000..2dd5887 --- /dev/null +++ b/.env.production.example @@ -0,0 +1,4 @@ +# Copia questo file in .env.production e imposta l'URL reale dell'API Laravel prima del deploy +# (pnpm build usa .env.production quando presente). .env.production non è tracciato in git: +# va creato una volta per ambiente e non deve mai contenere un dominio "indovinato". +VITE_PREVENTIVI_API_BASE=https://preventivi.kreiosinfissi.it/api diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index f4f219b..dc9af24 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -1,6 +1,6 @@ -# Copilot Instructions for infissionline-vite +# Copilot Instructions for kreiosinfissi-vite -Welcome to the `infissionline-vite` project! This document provides essential guidelines for AI coding agents to be productive in this codebase. Follow these instructions to understand the architecture, workflows, and conventions specific to this project. +Welcome to the `kreiosinfissi-vite` project! This document provides essential guidelines for AI coding agents to be productive in this codebase. Follow these instructions to understand the architecture, workflows, and conventions specific to this project. --- diff --git a/.gitignore b/.gitignore index 9eef5d1..c31695e 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ /kreios/ /dist/ /node_modules/ -kreios.zip \ No newline at end of file +kreios.zip +.env.production \ No newline at end of file diff --git a/CLAUDE.md b/CLAUDE.md index 7fd8d6c..7bf47f4 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -4,9 +4,9 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co ## Project overview -Web-based 3D configurator for infissi (windows/doors) — "infissionline-vite". It renders a Three.js scene +Web-based 3D configurator for infissi (windows/doors) — "kreiosinfissi-vite". It renders a Three.js scene (GLB models) driven by JSON product data and a jQuery-based menu UI, and is meant to run **inside an -`