Skip to content

Commit

Permalink
Deploying to gh-pages from @ 2f1647a 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
scottleechua committed Oct 2, 2024
1 parent 8d46edf commit 0b41158
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ <h3>
<p>A plaintext walkthrough of deploying an almost-free, fully self-hosted Ghost blog on Google Cloud.</p>
<p class="post-meta">
September 10, 2023 &nbsp; &middot; &nbsp;
20 min read
21 min read
</p>
</li>

Expand Down
20 changes: 10 additions & 10 deletions blog/self-hosting-ghost-on-google-cloud/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ <h4 id="initialize-compute-engine">Initialize Compute Engine</h4>
</li>
<li>Schedule frequency: <code class="language-plaintext highlighter-rouge">Weekly</code>
</li>
<li>Autodelete snapshots after: <code class="language-plaintext highlighter-rouge">7</code> days</li>
</ul>
</li>
<li>Go to Disks &gt; <code class="language-plaintext highlighter-rouge">ghost-blog</code> &gt; <code class="language-plaintext highlighter-rouge">Edit</code>:
Expand Down Expand Up @@ -426,18 +427,14 @@ <h4 id="install-ghost-dependencies">Install Ghost dependencies</h4>
</code></pre></div> </div>
</li>
<li>
<p>Install <a href="https://github.com/nodesource/distributions#installation-instructions" target="_blank" rel="noopener">NodeJS</a>:</p>
<p>Install NodeJS using <a href="https://github.com/nvm-sh/nvm" target="_blank" rel="noopener"><code class="language-plaintext highlighter-rouge">nvm</code></a>:</p>

<div class="language-bash highlighter-rouge">
<div class="highlight"><pre class="highlight"><code><span class="nb">sudo </span>apt update
<span class="nb">sudo </span>apt <span class="nb">install</span> <span class="nt">-y</span> ca-certificates curl gnupg
<span class="nb">sudo mkdir</span> <span class="nt">-p</span> /etc/apt/keyrings
curl <span class="nt">-fsSL</span> https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | <span class="nb">sudo </span>gpg <span class="nt">--dearmor</span> <span class="nt">-o</span> /etc/apt/keyrings/nodesource.gpg
<span class="nv">NODE_MAJOR</span><span class="o">=</span>20
<span class="nb">echo</span> <span class="s2">"deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_</span><span class="nv">$NODE_MAJOR</span><span class="s2">.x nodistro main"</span> | <span class="nb">sudo tee</span> /etc/apt/sources.list.d/nodesource.list
<span class="nb">sudo </span>apt update
<span class="nb">sudo </span>apt <span class="nb">install </span>nodejs <span class="nt">-y</span>
<span class="nb">sudo </span>npm <span class="nb">install</span> <span class="nt">-g</span> npm@latest
<div class="highlight"><pre class="highlight"><code>curl <span class="nt">-o-</span> https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
<span class="nb">export </span><span class="nv">NVM_DIR</span><span class="o">=</span><span class="s2">"</span><span class="nv">$HOME</span><span class="s2">/.nvm"</span>
<span class="o">[</span> <span class="nt">-s</span> <span class="s2">"</span><span class="nv">$NVM_DIR</span><span class="s2">/nvm.sh"</span> <span class="o">]</span> <span class="o">&amp;&amp;</span> <span class="se">\.</span> <span class="s2">"</span><span class="nv">$NVM_DIR</span><span class="s2">/nvm.sh"</span>
<span class="o">[</span> <span class="nt">-s</span> <span class="s2">"</span><span class="nv">$NVM_DIR</span><span class="s2">/bash_completion"</span> <span class="o">]</span> <span class="o">&amp;&amp;</span> <span class="se">\.</span> <span class="s2">"</span><span class="nv">$NVM_DIR</span><span class="s2">/bash_completion"</span>
nvm <span class="nb">install </span>20.17.0
</code></pre></div> </div>
</li>
<li>
Expand Down Expand Up @@ -789,6 +786,9 @@ <h2 id="contribute">Contribute</h2>
<h2 id="changelog">Changelog</h2>

<ul>
<li>
<p><strong>2024-10-02</strong>: Add setting to autodelete disk snapshots after 7 days to minimize costs, as snapshot storage is no longer included in the Free Tier.</p>
</li>
<li>
<p><strong>2024-09-20</strong>: Update Nodejs installation instructions to install v20, <a href="https://ghost.org/docs/faq/node-versions/" target="_blank" rel="noopener">as recommended by Ghost</a>.</p>
</li>
Expand Down
10 changes: 5 additions & 5 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://scottleechua.com/comics/doorkeeper/</loc>
<lastmod>2024-09-30T10:14:08+00:00</lastmod>
<lastmod>2024-10-02T02:54:28+00:00</lastmod>
</url>
<url>
<loc>https://scottleechua.com/comics/workshops/</loc>
<lastmod>2024-09-30T10:14:08+00:00</lastmod>
<lastmod>2024-10-02T02:54:28+00:00</lastmod>
</url>
<url>
<loc>https://scottleechua.com/games/detention-class/</loc>
<lastmod>2024-09-30T10:14:08+00:00</lastmod>
<lastmod>2024-10-02T02:54:28+00:00</lastmod>
</url>
<url>
<loc>https://scottleechua.com/games/great-escape/</loc>
<lastmod>2024-09-30T10:14:08+00:00</lastmod>
<lastmod>2024-10-02T02:54:28+00:00</lastmod>
</url>
<url>
<loc>https://scottleechua.com/games/workshops/</loc>
<lastmod>2024-09-30T10:14:08+00:00</lastmod>
<lastmod>2024-10-02T02:54:28+00:00</lastmod>
</url>
<url>
<loc>https://scottleechua.com/news/buwaya-translation/</loc>
Expand Down

0 comments on commit 0b41158

Please sign in to comment.