{
  "version": "https://jsonfeed.org/version/1.1",
  "title": "Cecil - Bien démarrer",
  "home_page_url": "https://cecil.app/fr/documentation/bien-demarrer/",
  "feed_url": "https://cecil.app/fr/documentation/bien-demarrer/feed.json",
  "description": "Découvrez Cecil, créez votre premier site web en quelques minutes et comprenez l’organisation d’un projet.",
  "icon": "https://cecil.app/favicon.7ff4b89eec6dad139a7d2d6561543285.png",
  "favicon": "https://cecil.app/thumbnails/64x/favicon.7ff4b89eec6dad139a7d2d6561543285.png",
  "language": "fr",
  "items": [
    {
      "id": "https://cecil.app/fr/documentation/bien-demarrer/installation/",
      "url": "https://cecil.app/fr/documentation/bien-demarrer/installation/",
      "title": "Installation",
      "summary": "Prérequis, méthodes d’installation (PHAR, gestionnaires de paquets, Composer), mise à jour et dépannage.",
      "date_published": "2026-10-05T00:00:00+00:00",
      "date_modified": "2026-10-05T00:00:00+00:00","content_text": "Installation\nCecil est distribué sous la forme d’un unique fichier exécutable, cecil.phar, qui fonctionne partout où PHP est installé.\nPrérequis\n\nPHP 8.3+\nExtensions PHP : fileinfo, gd et mbstring\n\nVérifiez votre version de PHP et les extensions chargées :\nphp -v\nphp -m\nExtensions optionnelles\n\n\n\nExtension\nUsage\n\n\n\n\nintl\nLocalisation des dates avec d’autres locales que en (améliore les performances sinon).\n\n\nimagick\nTraitement des images, préféré à GD si disponible.\n\n\nffi\nTraitement des images avec libvips (nécessite une installation via Composer).\n\n\n\nTélécharger le PHAR\nTéléchargez cecil.phar depuis votre terminal :\ncurl -LO https:\/\/cecil.app\/cecil.phar\nPuis exécutez-le avec PHP :\nphp cecil.phar --version\nVous pouvez également télécharger une version spécifique ou la version d’aperçu.\nInstallation globale\nInstaller Cecil globalement permet d’exécuter la commande cecil depuis n’importe quel dossier, au lieu de php cecil.phar.\nmacOS et Linux\nAvec Homebrew :\nbrew install cecilapp\/tap\/cecil\nOu manuellement, en déplaçant le PHAR dans un dossier de votre PATH :\nmv cecil.phar \/usr\/local\/bin\/cecil\nchmod +x \/usr\/local\/bin\/cecil\nWindows\nAvec Scoop :\nscoop install https:\/\/cecil.app\/scoop\/cecil.json\nOu manuellement :\n\nDéplacez cecil.phar dans un dossier dédié tel que C:\\bin\nRenommez cecil.phar en cecil\nAjoutez ;C:\\bin à votre variable d’environnement PATH\nCréez un « wrapping batch script » à côté\n\nPHIVE\nAvec PHIVE (The PHAR Installation and Verification Environment) :\nphive install cecil\nComposer\nAvec Composer :\ncomposer global require cecil\/cecil\nAssurez-vous que le dossier des binaires globaux de Composer est dans votre PATH. Exécutez composer global config bin-dir --absolute pour l’obtenir.\nPour utiliser Cecil comme dépendance d’un projet PHP, voir Bibliothèque.\nVérifier l’installation\ncecil --version\nExécutez cecil list pour afficher les commandes disponibles.\nMise à jour\nMettez à jour Cecil vers la dernière version selon votre méthode d’installation :\n# PHAR\nphp cecil.phar self-update\n# Homebrew\nbrew upgrade cecilapp\/tap\/cecil\n# Scoop\nscoop update cecil\n# PHIVE\nphive update cecil\n# Composer\ncomposer global update cecil\/cecil\nLa commande self-update (PHAR uniquement) accepte également les options suivantes :\n\n--rollback : revient à la version précédemment installée\n--stable : force la mise à jour vers la dernière version stable\n--preview : force la mise à jour vers la dernière version instable\n\nLe journal des modifications de chaque version est disponible sur GitHub.\nDépannage\ncommand not found: cecil\nLe dossier d’installation n’est pas dans votre PATH : ajoutez-le, ou exécutez Cecil avec php cecil.phar depuis le dossier contenant le PHAR.\nErreur de version ou d’extension PHP\nLe PHP utilisé en ligne de commande peut différer de celui attendu (plusieurs versions installées) : vérifiez-le avec php -v et php --ini, puis activez les extensions manquantes dans le fichier php.ini chargé.\nDiagnostiquer un site\nUne fois un site créé, exécutez la commande doctor pour diagnostiquer sa configuration.",
      "content_html": "<h1>Installation</h1>\n<p>Cecil est distribué sous la forme d’un unique fichier exécutable, <code translate=\"no\">cecil.phar</code>, qui fonctionne partout où PHP est installé.</p>\n<h2 id=\"prerequis\">Prérequis</h2>\n<ul>\n<li><a href=\"https://www.php.net/manual/fr/install.php\" target=\"_blank\" rel=\"noopener noreferrer\">PHP</a> 8.3+</li>\n<li>Extensions PHP : <code translate=\"no\">fileinfo</code>, <code translate=\"no\">gd</code> et <code translate=\"no\">mbstring</code></li>\n</ul>\n<p>Vérifiez votre version de PHP et les extensions chargées :</p>\n<pre><code class=\"language-bash hljs bash\" translate=\"no\">php -v\nphp -m</code></pre>\n<h3 id=\"extensions-optionnelles\">Extensions optionnelles</h3>\n<table>\n<thead>\n<tr>\n<th>Extension</th>\n<th>Usage</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><a href=\"https://www.php.net/manual/fr/book.intl.php\" target=\"_blank\" rel=\"noopener noreferrer\"><code translate=\"no\">intl</code></a></td>\n<td><a href=\"../templates/16-localization.fr.md\">Localisation</a> des dates avec d’autres locales que <code translate=\"no\">en</code> (améliore les performances sinon).</td>\n</tr>\n<tr>\n<td><a href=\"https://www.php.net/manual/fr/book.imagick.php\" target=\"_blank\" rel=\"noopener noreferrer\"><code translate=\"no\">imagick</code></a></td>\n<td>Traitement des images, préféré à GD si disponible.</td>\n</tr>\n<tr>\n<td><a href=\"https://www.php.net/manual/fr/book.ffi.php\" target=\"_blank\" rel=\"noopener noreferrer\"><code translate=\"no\">ffi</code></a></td>\n<td>Traitement des images avec <a href=\"https://www.libvips.org/\" target=\"_blank\" rel=\"noopener noreferrer\">libvips</a> (nécessite une <a href=\"#composer\">installation via Composer</a>).</td>\n</tr>\n</tbody>\n</table>\n<h2 id=\"telecharger-le-phar\">Télécharger le PHAR</h2>\n<p>Téléchargez <code translate=\"no\">cecil.phar</code> depuis votre terminal :</p>\n<pre><code class=\"language-bash hljs bash\" translate=\"no\">curl -LO https://cecil.app/cecil.phar</code></pre>\n<p>Puis exécutez-le avec PHP :</p>\n<pre><code class=\"language-bash hljs bash\" translate=\"no\">php cecil.phar --version</code></pre>\n<aside class=\"note note-info\"><p>Vous pouvez également télécharger une <a href=\"/fr/telecharger/\">version spécifique ou la version d’aperçu</a>.</p></aside>\n<h2 id=\"installation-globale\">Installation globale</h2>\n<p>Installer Cecil globalement permet d’exécuter la commande <code translate=\"no\">cecil</code> depuis n’importe quel dossier, au lieu de <code translate=\"no\">php cecil.phar</code>.</p>\n<h3 id=\"macos-et-linux\">macOS et Linux</h3>\n<p>Avec <a href=\"https://brew.sh\" target=\"_blank\" rel=\"noopener noreferrer\">Homebrew</a> :</p>\n<pre><code class=\"language-bash hljs bash\" translate=\"no\">brew install cecilapp/tap/cecil</code></pre>\n<p>Ou manuellement, en déplaçant le PHAR dans un dossier de votre <code translate=\"no\">PATH</code> :</p>\n<pre><code class=\"language-bash hljs bash\" translate=\"no\">mv cecil.phar /usr/<span class=\"hljs-built_in\">local</span>/bin/cecil\nchmod +x /usr/<span class=\"hljs-built_in\">local</span>/bin/cecil</code></pre>\n<h3 id=\"windows\">Windows</h3>\n<p>Avec <a href=\"https://scoop.sh\" target=\"_blank\" rel=\"noopener noreferrer\">Scoop</a> :</p>\n<pre><code class=\"language-bash hljs bash\" translate=\"no\">scoop install https://cecil.app/scoop/cecil.json</code></pre>\n<p>Ou manuellement :</p>\n<ol>\n<li>Déplacez <code translate=\"no\">cecil.phar</code> dans un dossier dédié tel que <code translate=\"no\">C:\\bin</code></li>\n<li>Renommez <code translate=\"no\">cecil.phar</code> en <code translate=\"no\">cecil</code></li>\n<li>Ajoutez <code translate=\"no\">;C:\\bin</code> à votre variable d’environnement <code translate=\"no\">PATH</code></li>\n<li>Créez un <a href=\"https://raw.githubusercontent.com/Cecilapp/Cecil/main/bin/cecil.bat\" target=\"_blank\" rel=\"noopener noreferrer\">« wrapping batch script »</a> à côté</li>\n</ol>\n<h3 id=\"phive\">PHIVE</h3>\n<p>Avec <a href=\"https://phar.io\" target=\"_blank\" rel=\"noopener noreferrer\">PHIVE</a> (The PHAR Installation and Verification Environment) :</p>\n<pre><code class=\"language-bash hljs bash\" translate=\"no\">phive install cecil</code></pre>\n<h3 id=\"composer\">Composer</h3>\n<p>Avec <a href=\"https://getcomposer.org\" target=\"_blank\" rel=\"noopener noreferrer\">Composer</a> :</p>\n<pre><code class=\"language-bash hljs bash\" translate=\"no\">composer global require cecil/cecil</code></pre>\n<aside class=\"note note-important\"><p>Assurez-vous que le dossier des binaires globaux de Composer est dans votre <code translate=\"no\">PATH</code>. Exécutez <code translate=\"no\">composer global config bin-dir --absolute</code> pour l’obtenir.</p></aside>\n<aside class=\"note note-tip\"><p>Pour utiliser Cecil comme dépendance d’un projet PHP, voir <a href=\"../developers/42-library.fr.md\">Bibliothèque</a>.</p></aside>\n<h2 id=\"verifier-l-installation\">Vérifier l’installation</h2>\n<pre><code class=\"language-bash hljs bash\" translate=\"no\">cecil --version</code></pre>\n<aside class=\"note note-info\"><p>Exécutez <code translate=\"no\">cecil list</code> pour afficher les <a href=\"../commands/index.fr.md\">commandes disponibles</a>.</p></aside>\n<h2 id=\"mise-a-jour\">Mise à jour</h2>\n<p>Mettez à jour Cecil vers la dernière version selon votre méthode d’installation :</p>\n<pre><code class=\"language-bash hljs bash\" translate=\"no\"><span class=\"hljs-comment\"># PHAR</span>\nphp cecil.phar self-update\n<span class=\"hljs-comment\"># Homebrew</span>\nbrew upgrade cecilapp/tap/cecil\n<span class=\"hljs-comment\"># Scoop</span>\nscoop update cecil\n<span class=\"hljs-comment\"># PHIVE</span>\nphive update cecil\n<span class=\"hljs-comment\"># Composer</span>\ncomposer global update cecil/cecil</code></pre>\n<p>La commande <code translate=\"no\">self-update</code> (PHAR uniquement) accepte également les options suivantes :</p>\n<ul>\n<li><code translate=\"no\">--rollback</code> : revient à la version précédemment installée</li>\n<li><code translate=\"no\">--stable</code> : force la mise à jour vers la dernière version stable</li>\n<li><code translate=\"no\">--preview</code> : force la mise à jour vers la dernière version instable</li>\n</ul>\n<aside class=\"note note-info\"><p>Le journal des modifications de chaque version est disponible sur <a href=\"https://github.com/Cecilapp/Cecil/releases\" target=\"_blank\" rel=\"noopener noreferrer\">GitHub</a>.</p></aside>\n<h2 id=\"depannage\">Dépannage</h2>\n<h3 id=\"command-not-found-cecil\"><code translate=\"no\">command not found: cecil</code></h3>\n<p>Le dossier d’installation n’est pas dans votre <code translate=\"no\">PATH</code> : ajoutez-le, ou exécutez Cecil avec <code translate=\"no\">php cecil.phar</code> depuis le dossier contenant le PHAR.</p>\n<h3 id=\"erreur-de-version-ou-d-extension-php\">Erreur de version ou d’extension PHP</h3>\n<p>Le PHP utilisé en ligne de commande peut différer de celui attendu (plusieurs versions installées) : vérifiez-le avec <code translate=\"no\">php -v</code> et <code translate=\"no\">php --ini</code>, puis activez les extensions manquantes dans le fichier <code translate=\"no\">php.ini</code> chargé.</p>\n<h3 id=\"diagnostiquer-un-site\">Diagnostiquer un site</h3>\n<p>Une fois un site créé, exécutez la commande <a href=\"../commands/37-doctor.fr.md\"><code translate=\"no\">doctor</code></a> pour diagnostiquer sa configuration.</p>",
      "language": "fr"
    },
    {
      "id": "https://cecil.app/fr/documentation/bien-demarrer/structure-des-dossiers/",
      "url": "https://cecil.app/fr/documentation/bien-demarrer/structure-des-dossiers/",
      "title": "Structure des dossiers",
      "summary": "Organisation des fichiers sources, arborescence du site généré et routage des fichiers vers les URL.",
      "date_published": "2026-03-27T00:00:00+00:00",
      "date_modified": "2026-10-03T00:00:00+00:00","content_text": "Structure des dossiers\nArborescence du système de fichiers\nOrganisation des fichiers du projet.\n&lt;monsiteweb&gt;\n├─ pages\n|  ├─ blog            &lt;- Section\n|  |  ├─ billet-1.md  &lt;- Page dans Section\n|  |  └─ billet-2.md\n|  ├─ projets\n|  |  └─ projet-a.md\n|  └─ about.md        &lt;- Page racine\n├─ assets\n|  ├─ styles.scss     &lt;- Fichier d'asset\n|  └─ logo.png\n├─ static\n|  └─ fichier.pdf     &lt;- Fichier statique\n└─ data\n   └─ auteurs.yml     &lt;- Collection de données\nArborescence du site généré\nRésultat de la génération.\n&lt;monsiteweb&gt;\n└─ _site\n   ├─ index.html               &lt;- Page d'accueil générée\n   ├─ blog\/\n   |  ├─ index.html            &lt;- Liste des articles générée\n   |  ├─ billet-1\/index.html   &lt;- Article de blog\n   |  └─ billet-2\/index.html\n   ├─ projets\/\n   |  ├─ index.html            &lt;- Liste des projets générée\n   |  └─ projet-a\/index.html   &lt;- Projet individuel\n   ├─ about\/index.html         &lt;- Page \"À propos\"\n   ├─ styles.css\n   ├─ logo.png\n   └─ fichier.pdf\nPar défaut, chaque page est générée sous la forme nomdufichier-sluglifié\/index.html pour obtenir une « belle » URL comme https:\/\/monsiteweb.tld\/section\/nomdufichier-sluglifié\/.\nPour obtenir une URL « ugly » (comme 404.html au lieu de 404\/), définissez uglyurl: true dans le front matter de la page.\nRoutage basé sur les fichiers\nLes fichiers Markdown du répertoire pages activent un routage basé sur les fichiers. Cela signifie que l’ajout, par exemple, de pages\/mon-projet\/projet-a.md le rendra accessible à l’URL \/projet-a dans votre navigateur.\nFichier :\n                   pages\/mon-projet\/projet-a.md\n                        └───── filepath ──────┘\nURL :\n    ┌───── baseurl ─────┬─────── path ────────┐\n     https:\/\/exemple.com\/mon-projet\/projet-a\/index.html\n                        └─ section ─┴─ slug ──┘\nDeux types de préfixes peuvent modifier l’URL, voir la section Préfixe de fichier ci-dessous.",
      "content_html": "<h1>Structure des dossiers</h1>\n<h2 id=\"arborescence-du-systeme-de-fichiers\">Arborescence du système de fichiers</h2>\n<p>Organisation des fichiers du projet.</p>\n<pre><code class=\"language-plaintext hljs plaintext\" translate=\"no\">&lt;monsiteweb&gt;\n├─ pages\n|  ├─ blog            &lt;- Section\n|  |  ├─ billet-1.md  &lt;- Page dans Section\n|  |  └─ billet-2.md\n|  ├─ projets\n|  |  └─ projet-a.md\n|  └─ about.md        &lt;- Page racine\n├─ assets\n|  ├─ styles.scss     &lt;- Fichier d'asset\n|  └─ logo.png\n├─ static\n|  └─ fichier.pdf     &lt;- Fichier statique\n└─ data\n   └─ auteurs.yml     &lt;- Collection de données</code></pre>\n<h2 id=\"arborescence-du-site-genere\">Arborescence du site généré</h2>\n<p>Résultat de la génération.</p>\n<pre><code class=\"language-plaintext hljs plaintext\" translate=\"no\">&lt;monsiteweb&gt;\n└─ _site\n   ├─ index.html               &lt;- Page d'accueil générée\n   ├─ blog/\n   |  ├─ index.html            &lt;- Liste des articles générée\n   |  ├─ billet-1/index.html   &lt;- Article de blog\n   |  └─ billet-2/index.html\n   ├─ projets/\n   |  ├─ index.html            &lt;- Liste des projets générée\n   |  └─ projet-a/index.html   &lt;- Projet individuel\n   ├─ about/index.html         &lt;- Page \"À propos\"\n   ├─ styles.css\n   ├─ logo.png\n   └─ fichier.pdf</code></pre>\n<aside class=\"note note-info\"><p>Par défaut, chaque page est générée sous la forme <code translate=\"no\">nomdufichier-sluglifié/index.html</code> pour obtenir une « belle » URL comme <code translate=\"no\">https://monsiteweb.tld/section/nomdufichier-sluglifié/</code>.\nPour obtenir une URL « ugly » (comme <code translate=\"no\">404.html</code> au lieu de <code translate=\"no\">404/</code>), définissez <code translate=\"no\">uglyurl: true</code> dans le <a href=\"../content/5-pages.fr.md#front-matter\">front matter</a> de la page.</p></aside>\n<h2 id=\"routage-base-sur-les-fichiers\">Routage basé sur les fichiers</h2>\n<p>Les fichiers Markdown du répertoire <code translate=\"no\">pages</code> activent un routage basé sur les fichiers. Cela signifie que l’ajout, par exemple, de <code translate=\"no\">pages/mon-projet/projet-a.md</code> le rendra accessible à l’URL <code translate=\"no\">/projet-a</code> dans votre navigateur.</p>\n<pre><code class=\"language-plaintext hljs plaintext\" translate=\"no\">Fichier :\n                   pages/mon-projet/projet-a.md\n                        └───── filepath ──────┘\nURL :\n    ┌───── baseurl ─────┬─────── path ────────┐\n     https://exemple.com/mon-projet/projet-a/index.html\n                        └─ section ─┴─ slug ──┘</code></pre>\n<aside class=\"note note-important\"><p>Deux types de préfixes peuvent modifier l’URL, voir la section <a href=\"../content/5-pages.fr.md#prefixe-de-fichier\">Préfixe de fichier</a> ci-dessous.</p></aside>",
      "language": "fr"
    },
    {
      "id": "https://cecil.app/fr/documentation/bien-demarrer/demarrage-rapide/",
      "url": "https://cecil.app/fr/documentation/bien-demarrer/demarrage-rapide/",
      "title": "Démarrage rapide",
      "summary": "Installez Cecil, créez un site, ajoutez des pages, prévisualisez-le localement, puis générez-le et déployez-le.",
      "date_published": "2021-11-03T00:00:00+00:00",
      "date_modified": "2026-10-02T00:00:00+00:00","content_text": "Démarrage rapide\nCréer un site web\nVous pouvez créer un nouveau site web en quelques minutes.\nSuivez les étapes ci-dessous pour créer votre premier site web Cecil.\n\n\n\n\n\n\n\n\nDémo du résultat attendu : https:\/\/cecilapp.github.io\/skeleton\/.\nPrérequis\n\nPHP 8.3+\nTerminal (une compréhension de base du terminal)\nÉditeur de texte, comme VS Code et\/ou Typora\n\n1. Télécharger Cecil\nTéléchargez cecil.phar depuis votre terminal:\ncurl -LO https:\/\/cecil.app\/cecil.phar\nVous pouvez également télécharger Cecil manuellement, ou utiliser :\n\nHomebrew: brew install cecilapp\/tap\/cecil\nScoop: scoop install https:\/\/cecil.app\/scoop\/cecil.json\n\n2. Créer un nouveau site\nCréez un répertoire pour le site Web (ex : &lt;monsiteweb&gt;), placez y cecil.phar, puis exécutez la commande new:site :\nphp cecil.phar new:site\n3. Ajouter une page\nExécutez la commande new:page :\nphp cecil.phar new:page\nVous pouvez maintenant modifier la page nouvellement créée avec votre éditeur Markdown : &lt;monsiteweb&gt;\/pages\/&lt;nouvelle-page&gt;.md.\nNous vous recommandons d’utiliser Typora pour éditer vos fichiers Markdown.\n4. Vérifier l’aperçu\nExécutez la commande suivante pour créer un aperçu du site Web :\nphp cecil.phar serve\nNaviguez ensuite sur http:\/\/localhost:8000.\nLa commande serve démarre un serveur HTTP local et un observateur : si un fichier (une page, un template ou la config) est modifié, la page active du navigateur est automatiquement rechargée.\n5. Générer et déployer\nQuand vous êtes satisfait du résultat, vous pouvez générer le site afin de le déployer sur le Web.\nExécutez la commande suivante pour générer le site :\nphp cecil.phar build\nVous pouvez maintenant copier le contenu du répertoire _site sur un serveur Web 🎉\n",
      "content_html": "<h1>Démarrage rapide</h1>\n<h2 id=\"creer-un-site-web\">Créer un site web</h2>\n<p>Vous pouvez créer un nouveau site web en quelques minutes.</p>\n<p>Suivez les étapes ci-dessous pour créer votre premier site web Cecil.</p>\n<p><a href=\"https://cecilapp.github.io/skeleton/\" target=\"_blank\" rel=\"noopener noreferrer\"><picture>\n<source media=\"(prefers-color-scheme: dark)\" type=\"image/avif\" srcset=\"/thumbnails/480x/docs/cecil-newsite.dark.19f0a851a99b34775f44b67c805a0815.avif 480w, /thumbnails/768x/docs/cecil-newsite.dark.19f0a851a99b34775f44b67c805a0815.avif 768w, /docs/cecil-newsite.dark.19f0a851a99b34775f44b67c805a0815.avif 1007w\" sizes=\"100vw\">\n<source media=\"(prefers-color-scheme: dark)\" type=\"image/webp\" srcset=\"/thumbnails/480x/docs/cecil-newsite.dark.19f0a851a99b34775f44b67c805a0815.webp 480w, /thumbnails/768x/docs/cecil-newsite.dark.19f0a851a99b34775f44b67c805a0815.webp 768w, /docs/cecil-newsite.dark.19f0a851a99b34775f44b67c805a0815.webp 1007w\" sizes=\"100vw\">\n<source media=\"(prefers-color-scheme: dark)\" srcset=\"/thumbnails/480x/docs/cecil-newsite.dark.19f0a851a99b34775f44b67c805a0815.png 480w, /thumbnails/768x/docs/cecil-newsite.dark.19f0a851a99b34775f44b67c805a0815.png 768w, /docs/cecil-newsite.dark.19f0a851a99b34775f44b67c805a0815.png 1007w\" sizes=\"100vw\">\n<source type=\"image/avif\" srcset=\"/thumbnails/480x/docs/cecil-newsite.94982e8ace758b40e6ff753807bdb42b.avif 480w, /thumbnails/768x/docs/cecil-newsite.94982e8ace758b40e6ff753807bdb42b.avif 768w, /docs/cecil-newsite.94982e8ace758b40e6ff753807bdb42b.avif 1007w\" width=\"1007\" height=\"607\" sizes=\"100vw\">\n<source type=\"image/webp\" srcset=\"/thumbnails/480x/docs/cecil-newsite.94982e8ace758b40e6ff753807bdb42b.webp 480w, /thumbnails/768x/docs/cecil-newsite.94982e8ace758b40e6ff753807bdb42b.webp 768w, /docs/cecil-newsite.94982e8ace758b40e6ff753807bdb42b.webp 1007w\" width=\"1007\" height=\"607\" sizes=\"100vw\">\n<img src=\"/docs/cecil-newsite.94982e8ace758b40e6ff753807bdb42b.png\" alt=\"Example de nouveau site\" loading=\"lazy\" decoding=\"async\" class=\"dark:brightness-90\" width=\"1007\" height=\"607\" style=\";max-width:100%;height:auto;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAyCAYAAACqNX6+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAEj0lEQVR4nN1b0ZKDIAxMHP//H+9HLvcg0QQCRATE2xmLrQghy4ZIW/z5+SEAgN/fXyAio6SjpKPk4wQRUCgBIJyDBgIgIiAibNvmOBA23AA3hA3xaKJSJh02IX/f0Q0Cd1ezxzTLgb3tNgAAShxvkjEYZPbnMcLyGBmORHW9nWwfmglRjmCVvALZ8x1n2ffFBCOOJ0HigUJAhyl10g85d6yrjOATYYodVm08IwTGkVF3wf9SBuMRIQQI5wDF6Uj8V2UwDELYs5h8alb1MCGyrMMD9bmP0Zvrs/+pDIYghPM5AiA8/ZwlGVE4CMuTCUN9cXiJOZtIkzr4ijLIkHVOPftVIZhBePKRdzDKOaYKu354iUipEiO45lcUrz6sqYyYJCZol0YgXOI4P1B3HRV0kPIRghlCcsSo/I1iQ54oo+T095TB2PV11OZsod/zwEtJkWEehcin2SIpFK8WlEi27javMqoNdUVOGYxLIUEZtn0IiAREmozoKSSLM8yEUGcSgSjCU2h3mjLuYIwyGJdC1NqBR4/hOBZUUgvr3YjL7cpSkSKmw7kFg3DYkMpSt6vwTWUwToUcixqAzJgQECgoA4EuH4nSAzxLvEq8Sukdq4+zb7Kv614kvqMMxs6TTxPBbgC+AgSoHAFgu6AEuQLw7ql1tYaYjHjF+aIyGPrBEMMsRIQrCzzmZ0xGK1TaWsytU+gJkp7LmvjYUt2rTxliyjV2v8MlEWWABCKGsNVpd0Tk1WmK7c+fUpWkdfyt9kWrMg+FKE+jLjhuI3VRyNULyjfFlq1JUFPJczvnKoMhHgz18njGaQ5jYg3phgdKqakkp5zReLpmqb0snqg6oyG5tdV9gCWl1MgvqaTdTqkMzkCjGpR6oleykN9+P0c4YY4VlZJHSSVzd6b6ZXN7rIxrmlEyorEDFMnrjY5yKjFDmYdktWbE18Ypg5EqZKYyrL49nwmUyFCrI97Osl3o/Zyzs4HUJwAPWvTv3WI/OJZRVobRz6D5einEkUJ1dXYJDYOtpcZJ8w8dOmoHIHlSf+r0aaQ5cfopyCZeIlVgeFEZjKYfOazmdImibXSpozVCj94byxLS6vSVyQKAbAxTa88LymBUFVJy8MrOrymlJAvr0qxdY3fI8jh/ZYJyUNkYGXtik7P/hJA4bYxLy+mrEvHULit8TVvUvRuHJWLA2cYKqO0Wy3ozoRRSU4c1CDmQFcnoZdMsYvaWLfUvEmNhJWUwdu7c2gfyqkSer0hGj7VkFm6vIVb9rxDjwVvKYDStId4t7y8R8zYRjO2JIXjz/E1Q5lgNyRrSgppKViHlC7j9YHgnfK2IVe1iNC/qMXJqWNUBKI6VsFtMtKjEun9lxISsQsxeCjke50t8IWRJWISgccxE8svFpwbw/SsrxMoCS0qZ/mCYCzEeQ+I6UxXSoZMcIUlIm/0FVfWvd07IZrqppLMzSip4e01xfUFlkZUz+P531Q1D7+itXFaY62L49yGef/jwr7zvhLCyOpyjGjj4rMPHdemCUyH3zfyCOp40P+w79ZKzrf/M9cP7Knmxqyz+AEm28LzQnWd/AAAAAElFTkSuQmCC);background-repeat:no-repeat;background-position:center;background-size:cover;\" srcset=\"/thumbnails/480x/docs/cecil-newsite.94982e8ace758b40e6ff753807bdb42b.png 480w, /thumbnails/768x/docs/cecil-newsite.94982e8ace758b40e6ff753807bdb42b.png 768w, /docs/cecil-newsite.94982e8ace758b40e6ff753807bdb42b.png 1007w\" sizes=\"100vw\">\n</picture></a></p>\n<aside class=\"note note-info\"><p>Démo du résultat attendu : <a href=\"https://cecilapp.github.io/skeleton/\" target=\"_blank\" rel=\"noopener noreferrer\">https://cecilapp.github.io/skeleton/</a>.</p></aside>\n<h3 id=\"prerequis\">Prérequis</h3>\n<ul>\n<li><a href=\"https://php.net/manual/fr/install.php\" target=\"_blank\" rel=\"noopener noreferrer\">PHP</a> 8.3+</li>\n<li>Terminal (une compréhension de base du <a href=\"https://fr.wikipedia.org/wiki/%C3%89mulateur_de_terminal\" target=\"_blank\" rel=\"noopener noreferrer\">terminal</a>)</li>\n<li>Éditeur de texte, comme <a href=\"https://code.visualstudio.com\" target=\"_blank\" rel=\"noopener noreferrer\">VS Code</a> et/ou <a href=\"https://typora.io\" target=\"_blank\" rel=\"noopener noreferrer\">Typora</a></li>\n</ul>\n<h3 id=\"1-telecharger-cecil\">1. Télécharger Cecil</h3>\n<p>Téléchargez <code translate=\"no\">cecil.phar</code> depuis votre terminal:</p>\n<pre><code class=\"language-bash hljs bash\" translate=\"no\">curl -LO https://cecil.app/cecil.phar</code></pre>\n<p>Vous pouvez également <a href=\"https://cecil.app/download/\">télécharger Cecil manuellement</a>, ou utiliser :</p>\n<ul>\n<li><a href=\"https://brew.sh\" target=\"_blank\" rel=\"noopener noreferrer\">Homebrew</a>: <code translate=\"no\">brew install cecilapp/tap/cecil</code></li>\n<li><a href=\"https://scoop.sh\" target=\"_blank\" rel=\"noopener noreferrer\">Scoop</a>: <code translate=\"no\">scoop install https://cecil.app/scoop/cecil.json</code></li>\n</ul>\n<h3 id=\"2-creer-un-nouveau-site\">2. Créer un nouveau site</h3>\n<p>Créez un répertoire pour le site Web (ex : <code translate=\"no\">&lt;monsiteweb&gt;</code>), placez y <code translate=\"no\">cecil.phar</code>, puis exécutez la commande <code translate=\"no\">new:site</code> :</p>\n<pre><code class=\"language-bash hljs bash\" translate=\"no\">php cecil.phar new:site</code></pre>\n<h3 id=\"3-ajouter-une-page\">3. Ajouter une page</h3>\n<p>Exécutez la commande <code translate=\"no\">new:page</code> :</p>\n<pre><code class=\"language-bash hljs bash\" translate=\"no\">php cecil.phar new:page</code></pre>\n<p>Vous pouvez maintenant modifier la page nouvellement créée avec votre éditeur Markdown : <code translate=\"no\">&lt;monsiteweb&gt;/pages/&lt;nouvelle-page&gt;.md</code>.</p>\n<aside class=\"note note-tip\"><p>Nous vous recommandons d’utiliser <a href=\"https://www.typora.io\" target=\"_blank\" rel=\"noopener noreferrer\">Typora</a> pour éditer vos fichiers Markdown.</p></aside>\n<h3 id=\"4-verifier-l-apercu\">4. Vérifier l’aperçu</h3>\n<p>Exécutez la commande suivante pour créer un aperçu du site Web :</p>\n<pre><code class=\"language-bash hljs bash\" translate=\"no\">php cecil.phar serve</code></pre>\n<p>Naviguez ensuite sur <code translate=\"no\">http://localhost:8000</code>.</p>\n<aside class=\"note note-info\"><p>La commande <code translate=\"no\">serve</code> démarre un serveur HTTP local et un observateur : si un fichier (une page, un template ou la config) est modifié, la page active du navigateur est automatiquement rechargée.</p></aside>\n<h3 id=\"5-generer-et-deployer\">5. Générer et déployer</h3>\n<p>Quand vous êtes satisfait du résultat, vous pouvez générer le site afin de le déployer sur le Web.</p>\n<p>Exécutez la commande suivante pour générer le site :</p>\n<pre><code class=\"language-bash hljs bash\" translate=\"no\">php cecil.phar build</code></pre>\n<p>Vous pouvez maintenant copier le contenu du répertoire <code translate=\"no\">_site</code> sur un serveur Web 🎉</p>\n<hr>",
      "language": "fr"
    },
    {
      "id": "https://cecil.app/fr/documentation/bien-demarrer/kits-de-demarrage/",
      "url": "https://cecil.app/fr/documentation/bien-demarrer/kits-de-demarrage/",
      "title": "Kits de démarrage",
      "summary": "Démarrez rapidement avec un modèle de projet prêt à l’emploi.",
      "date_published": "2021-11-03T00:00:00+00:00",
      "date_modified": "2026-10-02T00:00:00+00:00","content_text": "Kits de démarrage\nPour démarrer rapidement, utilisez l’un des kits de démarrage Cecil prêts à l’emploi :\n\nThe Butler : starter blog prêt à publier.\nLinks : alternative open source à Linktree.\nPhoto Stream : flux photo auto-hébergé minimaliste.\nStatidocs : site de documentation prêt à l’emploi.\n\n\n\n\n\n",
      "content_html": "<h1>Kits de démarrage</h1>\n<p>Pour démarrer rapidement, utilisez l’un des <a href=\"/fr/kits-de-demarrage/\">kits de démarrage</a> Cecil prêts à l’emploi :</p>\n<ul>\n<li><a href=\"https://github.com/Cecilapp/the-butler#readme\" target=\"_blank\" rel=\"noopener noreferrer\">The Butler</a> : starter blog prêt à publier.</li>\n<li><a href=\"https://github.com/Cecilapp/Links#readme\" target=\"_blank\" rel=\"noopener noreferrer\">Links</a> : alternative open source à Linktree.</li>\n<li><a href=\"https://github.com/Cecilapp/photo-stream#readme\" target=\"_blank\" rel=\"noopener noreferrer\">Photo Stream</a> : flux photo auto-hébergé minimaliste.</li>\n<li><a href=\"https://github.com/Cecilapp/statidocs#readme\" target=\"_blank\" rel=\"noopener noreferrer\">Statidocs</a> : site de documentation prêt à l’emploi.</li>\n</ul>\n<p><a href=\"https://github.com/Cecilapp/the-butler#readme\" target=\"_blank\" rel=\"noopener noreferrer\"><picture>\n<source type=\"image/avif\" srcset=\"/thumbnails/480x/docs/cecil-newblog.c85c682e3bcb416589e2bc2bbcc2cfca.avif 480w, /thumbnails/768x/docs/cecil-newblog.c85c682e3bcb416589e2bc2bbcc2cfca.avif 768w, /docs/cecil-newblog.c85c682e3bcb416589e2bc2bbcc2cfca.avif 1014w\" width=\"1014\" height=\"713\" sizes=\"100vw\">\n<source type=\"image/webp\" srcset=\"/thumbnails/480x/docs/cecil-newblog.c85c682e3bcb416589e2bc2bbcc2cfca.webp 480w, /thumbnails/768x/docs/cecil-newblog.c85c682e3bcb416589e2bc2bbcc2cfca.webp 768w, /docs/cecil-newblog.c85c682e3bcb416589e2bc2bbcc2cfca.webp 1014w\" width=\"1014\" height=\"713\" sizes=\"100vw\">\n<img src=\"/docs/cecil-newblog.c85c682e3bcb416589e2bc2bbcc2cfca.png\" alt=\"Exemple de starter blog\" loading=\"lazy\" decoding=\"async\" class=\"dark:brightness-90\" width=\"1014\" height=\"713\" style=\";max-width:100%;height:auto;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSU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kpAICzvx+AaEX6SAN+pyyZs1rDD0XWWxDrIP3aK1HZN57BoQ9YguzOEyj08cLOPIEQlVVFHU1rjue9WWBjEG0VvqF8d3UuTn0NBxVbUVWdcBYNoMC5ME380gcQiTTLTvT80UhrCM+qs1k4chjVedipNtX8vACI/ViSEidvFqu7+sDmVIBm5Gr/sZSobWCAwYQmepNsiUlxROIIwGCTBoKsVhB1sRwLvFGiXmf4Ra30ZFDzQjzbaymY/nUuAcpg2R0vl8gnOtLAXl2gy6CakhHU2HDuREQlLWKYxp8WW8rzeRoDss1ZZRBuAumMW9jEhiQtSBVc55QJaYaxrnRWAMdoz62W9N4/UCVTeNeW4FSpXdISbVjYwi+DBC5bA/9Gp2QRlzghsyYQ2Wsm12jrkl5ZWx2QPzVKHPjngu0DbqkUZfzypE223CpNU8qqnjT7FjJVw+UrbX5gs4mOtfszncZ+XqFFwIyysktzA+hsoTmQlNny45V97mQOWB4MfzrncIhHZa1eyxW6ASM2Ru57UOFEVBDSmPU0xRpinsBsilta/nfRwWcNqVkZJEf50Dk9NTRvgSQhxuUBWS8vjwCuJYdb0r8JzRCzkHEvPUmzPf4htoamtskYIhANynTmrnQj/EqW0igSW5LBJAuimvWpqBLQlRbWaRe4pzpXHBSTlViankJILUsD4Xlqk49HFOrmrknl2LQZb1vMZwAHe6tLDuDgLukEQ/191V1IqUdgFWIZZplwOjZZq3t8hxIeaYrlPj9H6oxhUTjWngBAAAAAElFTkSuQmCC);background-repeat:no-repeat;background-position:center;background-size:cover;\" srcset=\"/thumbnails/480x/docs/cecil-newblog.c85c682e3bcb416589e2bc2bbcc2cfca.png 480w, /thumbnails/768x/docs/cecil-newblog.c85c682e3bcb416589e2bc2bbcc2cfca.png 768w, /docs/cecil-newblog.c85c682e3bcb416589e2bc2bbcc2cfca.png 1014w\" sizes=\"100vw\">\n</picture></a></p>",
      "language": "fr"
    }
  ]
}
