deploy: d2725b5bf0
This commit is contained in:
parent
d5790b8abb
commit
7e9d4c18d3
232 changed files with 25544 additions and 58300 deletions
|
|
@ -7,11 +7,11 @@
|
|||
<h4 class="alert-heading">info</h4>
|
||||
<p>For the purpose of this install guide, we are assuming You will want to follow the &ldquo;standard&rdquo; used by Hugo for installing. We will be creating a <code>Hugo</code> folder in the root of <code>C:\</code>. That folder will have a <code>Bin</code> folder for the binaries, and a <code>Sites</code> folder for each website You are building.</p>
|
||||
<p>Once You are done, You should have a folder structure that looks like this:</p>
|
||||
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-text" data-lang="text">C:\Hugo
|
||||
├── Bin # Binaries
|
||||
└┬─ Sites # Hugo Site Repositories
|
||||
└── alguidelines # Hugo Source for alguidelines.dev
|
||||
</code></pre></div>
|
||||
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-text" data-lang="text"><span style="display:flex;"><span>C:\Hugo
|
||||
</span></span><span style="display:flex;"><span>├── Bin # Binaries
|
||||
</span></span><span style="display:flex;"><span>└┬─ Sites # Hugo Site Repositories
|
||||
</span></span><span style="display:flex;"><span> └── alguidelines # Hugo Source for alguidelines.dev
|
||||
</span></span></code></pre></div>
|
||||
</div>
|
||||
<p><img src="SelectExtended.png" alt="image"></p>
|
||||
<p>After downloading the .zip file, extract the zip-file to <code>c:\Hugo\Bin</code></p>
|
||||
|
|
@ -30,12 +30,12 @@
|
|||
<p>Once complete. You should now be able to preview the Hugo site on <a href="http://localhost:1313">http://localhost:1313</a> by opening a command promt, and open the <code>C:\Hugo\Sites\alguidelines</code> folder and execute <code>Hugo Serve</code></p>
|
||||
<p><img src="HugoServe.png" alt="image"></p></description></item><item><title>Docs: Powershell on Windows 11</title><link>https://alguidelines.dev/docs/contributing/installhugo/usingpowershellonwindows11/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://alguidelines.dev/docs/contributing/installhugo/usingpowershellonwindows11/</guid><description>
|
||||
<p>It is possible to use a powershell script and Chocolatey to install and other dependencies. Execute the following script:</p>
|
||||
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-powershell" data-lang="powershell"><span style="color:#204a87">Set-ExecutionPolicy</span> <span style="color:#000">Bypass</span> <span style="color:#000">-Scope</span> <span style="color:#204a87;font-weight:bold">Process</span> <span style="color:#000">-Force</span>
|
||||
<span style="color:#000">[System.Net.ServicePointManager]</span><span style="color:#000;font-weight:bold">::</span><span style="color:#000">SecurityProtocol</span> <span style="color:#000;font-weight:bold">=</span> <span style="color:#000">[System.Net.ServicePointManager]</span><span style="color:#000;font-weight:bold">::</span><span style="color:#000">SecurityProtocol</span> <span style="color:#ce5c00;font-weight:bold">-bor</span> <span style="color:#000">3072</span>
|
||||
<span style="color:#204a87">Invoke-Expression</span> <span style="color:#000;font-weight:bold">((</span><span style="color:#204a87">New-Object</span> <span style="color:#000">System</span><span style="color:#000;font-weight:bold">.</span><span style="color:#000">Net</span><span style="color:#000;font-weight:bold">.</span><span style="color:#000">WebClient</span><span style="color:#000;font-weight:bold">).</span><span style="color:#000">DownloadString</span><span style="color:#000;font-weight:bold">(</span><span style="color:#4e9a06">&#39;https://community.chocolatey.org/install.ps1&#39;</span><span style="color:#000;font-weight:bold">))</span>
|
||||
<span style="color:#000">choco</span> <span style="color:#000">install</span> <span style="color:#000">-y</span> <span style="color:#000">nodejs</span>
|
||||
<span style="color:#000">choco</span> <span style="color:#000">install</span> <span style="color:#000">-y</span> <span style="color:#204a87">hugo-extended</span>
|
||||
</code></pre></div><p>Once complete, in root of of the repository execute the following commands</p>
|
||||
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-powershell" data-lang="powershell"><span style="color:#000">git</span> <span style="color:#000">submodule</span> <span style="color:#000">update</span> <span style="color:#000;font-weight:bold">-</span><span style="color:#000">-init</span> <span style="color:#000;font-weight:bold">-</span><span style="color:#000">-recursive</span> <span style="color:#000;font-weight:bold">-</span><span style="color:#000">-depth</span> <span style="color:#000">1</span>
|
||||
<span style="color:#000">npm</span> <span style="color:#000">install</span>
|
||||
</code></pre></div></description></item></channel></rss>
|
||||
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-powershell" data-lang="powershell"><span style="display:flex;"><span><span style="color:#204a87">Set-ExecutionPolicy</span> <span style="color:#000">Bypass</span> <span style="color:#000">-Scope</span> <span style="color:#204a87;font-weight:bold">Process</span> <span style="color:#000">-Force</span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#000">[System.Net.ServicePointManager]</span><span style="color:#000;font-weight:bold">::</span><span style="color:#000">SecurityProtocol</span> <span style="color:#000;font-weight:bold">=</span> <span style="color:#000">[System.Net.ServicePointManager]</span><span style="color:#000;font-weight:bold">::</span><span style="color:#000">SecurityProtocol</span> <span style="color:#ce5c00;font-weight:bold">-bor</span> <span style="color:#000">3072</span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#204a87">Invoke-Expression</span> <span style="color:#000;font-weight:bold">((</span><span style="color:#204a87">New-Object</span> <span style="color:#000">System</span><span style="color:#000;font-weight:bold">.</span><span style="color:#000">Net</span><span style="color:#000;font-weight:bold">.</span><span style="color:#000">WebClient</span><span style="color:#000;font-weight:bold">).</span><span style="color:#000">DownloadString</span><span style="color:#000;font-weight:bold">(</span><span style="color:#4e9a06">&#39;https://community.chocolatey.org/install.ps1&#39;</span><span style="color:#000;font-weight:bold">))</span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#000">choco</span> <span style="color:#000">install</span> <span style="color:#000">-y</span> <span style="color:#000">nodejs</span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#000">choco</span> <span style="color:#000">install</span> <span style="color:#000">-y</span> <span style="color:#204a87">hugo-extended</span>
|
||||
</span></span></code></pre></div><p>Once complete, in root of of the repository execute the following commands</p>
|
||||
<div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-powershell" data-lang="powershell"><span style="display:flex;"><span><span style="color:#000">git</span> <span style="color:#000">submodule</span> <span style="color:#000">update</span> <span style="color:#000;font-weight:bold">-</span><span style="color:#000">-init</span> <span style="color:#000;font-weight:bold">-</span><span style="color:#000">-recursive</span> <span style="color:#000;font-weight:bold">-</span><span style="color:#000">-depth</span> <span style="color:#000">1</span>
|
||||
</span></span><span style="display:flex;"><span><span style="color:#000">npm</span> <span style="color:#000">install</span>
|
||||
</span></span></code></pre></div></description></item></channel></rss>
|
||||
Loading…
Add table
Add a link
Reference in a new issue