<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Installation on Martijn's Notes</title><link>https://vandenboom.online/fr/tags/installation/</link><description>Recent content in Installation on Martijn's Notes</description><generator>Hugo</generator><language>fr</language><copyright>Copyright © 2016-2026 van den &lt;span class='bold-rotate'&gt;B&lt;/span&gt;oom. All Rights Reserved.</copyright><lastBuildDate>Sat, 26 Feb 2022 17:10:39 +0200</lastBuildDate><atom:link href="https://vandenboom.online/fr/tags/installation/index.xml" rel="self" type="application/rss+xml"/><item><title>Installer via le module Hugo</title><link>https://vandenboom.online/fr/docs/getting-started/installation/hugo-module/</link><pubDate>Sat, 26 Feb 2022 17:10:39 +0200</pubDate><guid>https://vandenboom.online/fr/docs/getting-started/installation/hugo-module/</guid><description><![CDATA[<p>Cet article fait référence à la méthode d&rsquo;installation moderne et à jour permettant d&rsquo;installer le thème localement en tant que module Hugo.</p>

<h2 id="proxy-facultatif" data-numberify>Proxy (facultatif)<a class="anchor ms-1" href="#proxy-facultatif"></a></h2>
<p>Si vous résidez en Chine continentale sans VPN, le téléchargement du module Hugo peut échouer.</p>
<p>Il existe deux proxys pour cela : <a href="https://goproxy.cn" target="_blank" rel="noopener noreferrer">GOPROXY.CN<i class="fas fa-external-link-square-alt ms-1"></i></a> et <a href="https://goproxy.io" target="_blank" rel="noopener noreferrer">GOPROXY.IO<i class="fas fa-external-link-square-alt ms-1"></i></a>.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="ln">1</span><span class="cl">$ <span class="nb">export</span> <span class="nv">HUGO_MODULE_PROXY</span><span class="o">=</span>https://goproxy.cn
</span></span></code></pre></div><blockquote>
<p>Veuillez noter que Hugo ne respecte pas la variable d&rsquo;environnement <code>GOPROXY</code>, veuillez utiliser <code>HUGO_MODULE_PROXY</code> à la place.</p>]]></description></item><item><title>Commencer</title><link>https://vandenboom.online/fr/docs/getting-started/</link><pubDate>Sat, 04 Dec 2021 10:43:39 +0800</pubDate><guid>https://vandenboom.online/fr/docs/getting-started/</guid><description></description></item><item><title>Installer via le sous-module Git</title><link>https://vandenboom.online/fr/docs/getting-started/installation/git-submodule/</link><pubDate>Sat, 04 Dec 2021 10:43:39 +0800</pubDate><guid>https://vandenboom.online/fr/docs/getting-started/installation/git-submodule/</guid><description><![CDATA[<p>Cet article fait référence à la méthode d&rsquo;installation traditionnelle consistant à cloner le thème localement en tant que sous-module Git.
Bien que cette méthode d&rsquo;installation soit encore largement utilisée, nous vous recommandons d&rsquo;installer le thème sous le nom <a href="https://vandenboom.online/fr/docs/getting-started/installation/hugo-module/">Module Hugo</a>.</p>

<h2 id="créer-un-nouveau-site-à-partir-de-zéro" data-numberify>Créer un nouveau site à partir de zéro<a class="anchor ms-1" href="#créer-un-nouveau-site-à-partir-de-zéro"></a></h2>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="ln">1</span><span class="cl">$ git clone https://github.com/razonyang/hugo-theme-bootstrap-skeleton myblog
</span></span><span class="line"><span class="ln">2</span><span class="cl">$ <span class="nb">cd</span> myblog
</span></span><span class="line"><span class="ln">3</span><span class="cl">$ git submodule add https://github.com/razonyang/hugo-theme-bootstrap themes/hugo-theme-bootstrap
</span></span><span class="line"><span class="ln">4</span><span class="cl">$ sed -i <span class="s2">&#34;s/theme:.*/theme: hugo-theme-bootstrap/g&#34;</span> config/_default/config.yaml
</span></span><span class="line"><span class="ln">5</span><span class="cl">$ rm go.mod go.sum
</span></span><span class="line"><span class="ln">6</span><span class="cl">$ hugo mod npm pack
</span></span><span class="line"><span class="ln">7</span><span class="cl">$ npm install
</span></span><span class="line"><span class="ln">8</span><span class="cl">$ hugo server
</span></span></code></pre></div><blockquote>
<p>Si vous utilisez Windows, utilisez plutôt <code>xcopy .\themes\hugo-theme-bootstrap\exampleSite /E</code>.</p>]]></description></item></channel></rss>