Initialisation d'un projet SmartStackInitialising a SmartStack project
ss init [nom] scaffold un nouveau projet SmartStack complet : backend .NET (Clean Architecture 4-couches) + frontend React/Vite + configuration GitFlow + EF Core. La commande est conversationnelle : elle pose les questions de configuration (base de données, e-mail, admin initial…) puis génère le projet ; l'avancement est tracé et une exécution interrompue reprend là où elle s'était arrêtée.
ss init [name] scaffolds a complete SmartStack project: .NET backend (4-layer Clean Architecture) + React/Vite frontend + GitFlow and EF Core configuration. The command is conversational: it asks the configuration questions (database, e-mail, initial admin…) then generates the project; progress is tracked and an interrupted run resumes where it stopped.
SyntaxeSyntax
ss init [nom] [options]
Le nom est optionnel : sans nom, le projet est créé dans le dossier courant. The name is optional: without one, the project is created in the current folder.
| Option | DescriptionDescription |
|---|---|
--here |
Génère dans le dossier courant (aussi utilisé pour reprendre une init interrompue)Generates into the current folder (also used to resume an interrupted init) |
-y, --yes |
Accepte toutes les valeurs par défaut, sans questionsAccepts every default, no questions |
--preview |
Affiche ce qui serait généré, sans écrireShows what would be generated, without writing |
--dry-run |
Simulation complète (aucun fichier créé)Full simulation (no file created) |
Structure généréeGenerated structure
| DossierFolder | RôleRole |
|---|---|
src/<Project>.Domain/ |
Entités, value objectsEntities, value objects |
src/<Project>.Application/ |
CQRS (Commands, Queries, Handlers)CQRS (Commands, Queries, Handlers) |
src/<Project>.Infrastructure/ |
EF Core, enregistrements DIEF Core, DI registrations |
src/<Project>.Api/ |
Controllers ASP.NETASP.NET controllers |
web/ |
React + Vite + TailwindReact + Vite + Tailwind |
migrations/ |
Migrations EF CoreEF Core migrations |
.claude/ |
Skills locaux (si --local)Local skills (with --local) |
.smartstack/ |
Métadonnées projet + arbre BAProject metadata + BA tree |
Étapes post-initPost-init steps
cd MyProject
ss dev up # backend + frontend + cartouche URLs/login
Ouvrez Claude Code dans le dossier et invoquez /ba-create-menu pour démarrer la phase Business Analysis. Voyez la page Business Analyse.
Open Claude Code in the folder and invoke /ba-create-menu to start the Business Analysis phase. See the Business Analysis page.