8000 GitHub - Aloulou-ahmed/3D_house_with_AI · GitHub
[go: up one dir, main page]

Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

3D House Generator

Guide rapide pour lancer le projet en local (backend FastAPI + frontend React/Vite).

1) Prerequis

  • Windows + PowerShell
  • Python 3.10+
  • Node.js + npm
  • Ollama installe

Verification rapide:

python --version
npm --version
ollama --version

2) Installation (premiere fois)

Depuis la racine du projet:

.\setup.bat

3) Lancement rapide (recommande)

  1. Demarrer Ollama:
ollama serve
  1. Dans un autre terminal, depuis la racine:
.\run_dev.bat

Cela lance:

4) Lancement manuel (2 terminaux)

Terminal 1 - Backend

Depuis la racine du projet:

.\venv\Scripts\Activate.ps1
python -m uvicorn backend.main:app --host 127.0.0.1 --port 8000 --reload

Terminal 2 - Frontend React

cd .\frontend-react
npm run dev

5) Verification

Si tout va bien:

  • Le frontend s ouvre et permet la generation 3D
  • Le endpoint /health retourne un statut OK

6) Ollama et modele

Si Ollama est demarre mais qu aucun modele n est disponible:

ollama pull llama3.2:latest

Ensuite relancer la generation depuis l interface web.

7) Scripts utiles

  • .\run_backend.bat : lance uniquement le backend
  • .\run_frontend.bat : lance uniquement le frontend-react
  • .\run_dev.bat : lance backend + frontend

8) Depannage rapide

Port 8000 deja utilise

netstat -ano | findstr :8000

Port 5173 deja utilise

netstat -ano | findstr :5173

Backend hors ligne

  • Verifier que le terminal backend affiche Application startup complete
  • Verifier l environnement virtuel active

Frontend ne demarre pas

Dans frontend-react:

npm install
npm run dev

9) Structure minimale

  • backend : API FastAPI
  • frontend-react : UI React + Three.js
  • frontend : ancienne version statique

3D_house_with_AI

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0