Skip to content

Commit

Permalink
Deploy website - based on 10c7bd6
Browse files Browse the repository at this point in the history
  • Loading branch information
cancheta00 committed Nov 16, 2023
1 parent 09198b1 commit 959dcb9
Show file tree
Hide file tree
Showing 14 changed files with 126 additions and 115 deletions.
4 changes: 2 additions & 2 deletions categories/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ <h2>G</h2>
<h2>H</h2>


<a href="https://charles.thyck.top/tags/hosting/">hosting (1)</a>
<a href="https://charles.thyck.top/tags/hosting/">hosting (2)</a>



Expand Down Expand Up @@ -454,7 +454,7 @@ <h2>T</h2>
<h2>W</h2>


<a href="https://charles.thyck.top/tags/website/">website (1)</a>
<a href="https://charles.thyck.top/tags/website/">website (2)</a>



Expand Down
18 changes: 9 additions & 9 deletions index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
<managingEditor>[email protected] (Charles Ancheta)</managingEditor>
<webMaster>[email protected] (Charles Ancheta)</webMaster>
<copyright>Charles Ancheta. MIT</copyright>
<lastBuildDate>Thu, 08 Jun 2023 23:04:45 -0600</lastBuildDate><atom:link href="https://charles.thyck.top/index.xml" rel="self" type="application/rss+xml" />
<lastBuildDate>Wed, 15 Nov 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://charles.thyck.top/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Building a Static Website - Part 1: Introduction</title>
<link>https://charles.thyck.top/post/static-website-setup/part-1/</link>
<pubDate>Thu, 08 Jun 2023 23:04:45 -0600</pubDate>
<title>My domain expired 😭</title>
<link>https://charles.thyck.top/post/expired-domain/</link>
<pubDate>Wed, 15 Nov 2023 00:00:00 +0000</pubDate>
<author>[email protected] (Charles Ancheta)</author>
<guid>https://charles.thyck.top/post/static-website-setup/part-1/</guid>
<description>A couple of months ago, I help a friend set up a website for a business. Today, I had another talk with a friend about building a portfolio website and he asked me for a few resources. I couldn&amp;rsquo;t find a comprehensive one that outlines all the required steps so I&amp;rsquo;ll try my best.
What is a static website? From ChatGPT:
Basically:
Static - no server-side logic, cheaper Dynamic - with server-side logic, more expensive What makes a (static) website Setting up a static website is basically free these days, maybe a few dollars a year if you want a custom domain.</description>
<guid>https://charles.thyck.top/post/expired-domain/</guid>
<description>&lt;p&gt;I hope my namesake pianist &lt;a href=&#34;https://anchetamusic.wordpress.com/about/&#34;&gt;Charles
Ancheta&lt;/a&gt; claims it back eventually.
&amp;lsquo;charlesancheta.com&amp;rsquo; used to redirect to his Facebook page before I registered
the domain as mine.&lt;/p&gt;</description>
</item>

<item>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<!DOCTYPE html>
<html lang="en">

<head><title>Building a Static Website - Part 1: Introduction &ndash; Charles Ancheta</title>
<head><title>My domain expired 😭 &ndash; Charles Ancheta</title>

<meta name="description" content="My 4-part series on how to build a website">
<meta name="description" content="Goodbye charlesancheta.com">


<meta name="viewport" content="width=device-width, initial-scale=1">
Expand Down Expand Up @@ -38,52 +38,24 @@

<section class="page__body">
<header class="content__header">
<h1>Building a Static Website - Part 1: Introduction</h1>
<h1>My domain expired 😭</h1>
</header>
<div class="content__body">
<p>A couple of months ago, I help a friend set up a website for a business. Today,
I had another talk with a friend about building a portfolio website and he
asked me for a few resources. I couldn&rsquo;t find a comprehensive one that outlines
all the required steps so I&rsquo;ll try my best.</p>
<h2 id="what-is-a-static-website">What is a static website?</h2>
<p>From ChatGPT:</p>
<p><img src="./static-vs-dynamic.webp" alt="Question: difference between a static and dynamic website in 2 sentences -Answer: A static website consists of fixed content that remains the same forall users and is created using HTML/CSS, while a dynamic website usesserver-side technologies to generate content dynamically, allowing forpersonalized and interactive experiences tailored to individualusers."></p>
<p>Basically:</p>
<ul>
<li>Static - no server-side logic, cheaper</li>
<li>Dynamic - with server-side logic, more expensive</li>
</ul>
<h2 id="what-makes-a-static-website">What makes a (static) website</h2>
<p>Setting up a static website is basically free these days, maybe a few dollars a
year if you want a custom domain. There are many free website builders out
there. However, we&rsquo;re going DIY with no strings attached to any one provider.
Any of these components can be swapped with many alternatives out there if you
so choose.</p>
<p>You really only need two things: your <strong>content</strong>, which is a bunch of HTML,
CSS, and JavaScript files, and a <strong>hosting</strong> provider, basically a computer
that serves your content 24/7.</p>
<h2 id="what-we-will-use">What we will use</h2>
<p>I&rsquo;m mostly going to outline my process because it&rsquo;s free (aside from the
domain) and that it&rsquo;s going to teach you some skills on web development.</p>
<p>We will need:</p>
<ul>
<li>A <strong>Computer</strong> (Windows/Mac/Linux)</li>
<li><strong>GitHub account</strong> for hosting your website with GitHub Pages</li>
<li>Some <strong>programming knowledge</strong> (very little, don&rsquo;t worry)</li>
<li><strong>Patience</strong> with my sucky writing 😭</li>
</ul>
<p>These would be nice to have:</p>
<ul>
<li><strong>Custom domain name</strong> - if you don&rsquo;t want your domain to appear as
<code>your-github-username.github.io</code></li>
<li><strong>Cloudflare account</strong> - for email protection and easier DNS management</li>
</ul>
<p>Since we are making a static website, most of the work will be done on your
personal computer. The hosting provider will only be concerned with serving the
final build output. For this, we would need to set up our development
environment.</p>
<p>Stay tuned for part 2!</p>

<p>I hope my namesake pianist <a href="https://anchetamusic.wordpress.com/about/">Charles
Ancheta</a> claims it back eventually.
&lsquo;charlesancheta.com&rsquo; used to redirect to his Facebook page before I registered
the domain as mine.</p>
<p>This summer, I went out of the country for almost 2 months. I promised my
girlfriend I wouldn&rsquo;t be doing any programming for the entire duration of the
vacation. As soon as I arrived in the Philippines, I locked up my laptop in a
drawer to make sure that I would not touch it until I have to (when school
starts).</p>
<p>Unfortunately, my domain &lsquo;charlesancheta.com&rsquo; expired around mid-August 😭. I
guess that&rsquo;s what I get for not turning on auto-renew. I didn&rsquo;t want to buy it
again since it started costing around $100/year.</p>
<p>Now I just have my personal website as a sub-domain in the only domain that I
own. It&rsquo;s not too bad, but now I will have to start replacing all links to my
website.</p>
</div>
<footer class="content__footer">
<script src="https://utteranc.es/client.js"
Expand Down Expand Up @@ -133,13 +105,22 @@ <h1 class="about__title">Charles Ancheta</h1>
</div>
<hr>
<div class="aside__content">
<p>My 4-part series on how to build a website</p>
<p>Goodbye charlesancheta.com</p>

<p>
By Charles Ancheta,
2023-06-08
2023-11-15
</p>

<p>
tags:

<a href="/tags/website">website</a>

<a href="/tags/hosting">hosting</a>

</p>



</div>
Expand Down
12 changes: 6 additions & 6 deletions post/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,18 @@ <h1>Posts</h1>

<article class="post">
<header class="post__header">
<h1><a href="https://charles.thyck.top/post/static-website-setup/part-1/">Building a Static Website - Part 1: Introduction</a></h1>
<h1><a href="https://charles.thyck.top/post/expired-domain/">My domain expired 😭</a></h1>
<p class="post__meta">
Charles Ancheta,
<span class="date">8 June 2023</span>
<span class="date">15 November 2023</span>
</p>
</header>

<section class="post__summary">
A couple of months ago, I help a friend set up a website for a business. Today, I had another talk with a friend about building a portfolio website and he asked me for a few resources. I couldn&rsquo;t find a comprehensive one that outlines all the required steps so I&rsquo;ll try my best.
What is a static website? From ChatGPT:
Basically:
Static - no server-side logic, cheaper Dynamic - with server-side logic, more expensive What makes a (static) website Setting up a static website is basically free these days, maybe a few dollars a year if you want a custom domain.
<p>I hope my namesake pianist <a href="https://anchetamusic.wordpress.com/about/">Charles
Ancheta</a> claims it back eventually.
&lsquo;charlesancheta.com&rsquo; used to redirect to his Facebook page before I registered
the domain as mine.</p>
</section>
</article>

Expand Down
18 changes: 9 additions & 9 deletions post/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
<managingEditor>[email protected] (Charles Ancheta)</managingEditor>
<webMaster>[email protected] (Charles Ancheta)</webMaster>
<copyright>Charles Ancheta. MIT</copyright>
<lastBuildDate>Thu, 08 Jun 2023 23:04:45 -0600</lastBuildDate><atom:link href="https://charles.thyck.top/post/index.xml" rel="self" type="application/rss+xml" />
<lastBuildDate>Wed, 15 Nov 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://charles.thyck.top/post/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Building a Static Website - Part 1: Introduction</title>
<link>https://charles.thyck.top/post/static-website-setup/part-1/</link>
<pubDate>Thu, 08 Jun 2023 23:04:45 -0600</pubDate>
<title>My domain expired 😭</title>
<link>https://charles.thyck.top/post/expired-domain/</link>
<pubDate>Wed, 15 Nov 2023 00:00:00 +0000</pubDate>
<author>[email protected] (Charles Ancheta)</author>
<guid>https://charles.thyck.top/post/static-website-setup/part-1/</guid>
<description>A couple of months ago, I help a friend set up a website for a business. Today, I had another talk with a friend about building a portfolio website and he asked me for a few resources. I couldn&amp;rsquo;t find a comprehensive one that outlines all the required steps so I&amp;rsquo;ll try my best.
What is a static website? From ChatGPT:
Basically:
Static - no server-side logic, cheaper Dynamic - with server-side logic, more expensive What makes a (static) website Setting up a static website is basically free these days, maybe a few dollars a year if you want a custom domain.</description>
<guid>https://charles.thyck.top/post/expired-domain/</guid>
<description>&lt;p&gt;I hope my namesake pianist &lt;a href=&#34;https://anchetamusic.wordpress.com/about/&#34;&gt;Charles
Ancheta&lt;/a&gt; claims it back eventually.
&amp;lsquo;charlesancheta.com&amp;rsquo; used to redirect to his Facebook page before I registered
the domain as mine.&lt;/p&gt;</description>
</item>

<item>
Expand Down
Binary file not shown.
4 changes: 2 additions & 2 deletions series/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ <h2>G</h2>
<h2>H</h2>


<a href="https://charles.thyck.top/tags/hosting/">hosting (1)</a>
<a href="https://charles.thyck.top/tags/hosting/">hosting (2)</a>



Expand Down Expand Up @@ -454,7 +454,7 @@ <h2>T</h2>
<h2>W</h2>


<a href="https://charles.thyck.top/tags/website/">website (1)</a>
<a href="https://charles.thyck.top/tags/website/">website (2)</a>



Expand Down
32 changes: 16 additions & 16 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,27 @@
</url>
<url>
<loc>https://charles.thyck.top/</loc>
<lastmod>2023-06-08T23:04:45-06:00</lastmod>
<lastmod>2023-11-15T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://charles.thyck.top/post/static-website-setup/part-1/</loc>
<lastmod>2023-06-08T23:04:45-06:00</lastmod>
<loc>https://charles.thyck.top/tags/hosting/</loc>
<lastmod>2023-11-15T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://charles.thyck.top/post/expired-domain/</loc>
<lastmod>2023-11-15T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://charles.thyck.top/post/</loc>
<lastmod>2023-06-08T23:04:45-06:00</lastmod>
<lastmod>2023-11-15T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://charles.thyck.top/tags/</loc>
<lastmod>2023-11-15T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://charles.thyck.top/tags/website/</loc>
<lastmod>2023-11-15T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://charles.thyck.top/tags/c&#43;&#43;/</loc>
Expand All @@ -34,10 +46,6 @@
<loc>https://charles.thyck.top/tags/make/</loc>
<lastmod>2023-05-30T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://charles.thyck.top/tags/</loc>
<lastmod>2023-05-30T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://charles.thyck.top/tags/til/</loc>
<lastmod>2023-05-30T00:00:00+00:00</lastmod>
Expand Down Expand Up @@ -90,10 +98,6 @@
<loc>https://charles.thyck.top/tags/rescript/</loc>
<lastmod>2022-11-29T02:50:15-07:00</lastmod>
</url>
<url>
<loc>https://charles.thyck.top/tags/website/</loc>
<lastmod>2022-11-29T02:50:15-07:00</lastmod>
</url>
<url>
<loc>https://charles.thyck.top/post/why-i-migrated-to-hugo/</loc>
<lastmod>2022-11-29T02:50:15-07:00</lastmod>
Expand Down Expand Up @@ -150,10 +154,6 @@
<loc>https://charles.thyck.top/post/bye-bye-netlify/</loc>
<lastmod>2022-06-19T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://charles.thyck.top/tags/hosting/</loc>
<lastmod>2022-06-19T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://charles.thyck.top/tags/netlify/</loc>
<lastmod>2022-06-19T00:00:00+00:00</lastmod>
Expand Down
3 changes: 3 additions & 0 deletions tags/hosting/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ <h1 id="hosting">hosting</h1>

<ul>

<li><a href="https://charles.thyck.top/post/expired-domain/">My domain expired 😭</a></li>


<li><a href="https://charles.thyck.top/post/bye-bye-netlify/">Bye bye Netlify</a></li>


Expand Down
14 changes: 13 additions & 1 deletion tags/hosting/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,19 @@
<managingEditor>[email protected] (Charles Ancheta)</managingEditor>
<webMaster>[email protected] (Charles Ancheta)</webMaster>
<copyright>Charles Ancheta. MIT</copyright>
<lastBuildDate>Sun, 19 Jun 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://charles.thyck.top/tags/hosting/index.xml" rel="self" type="application/rss+xml" />
<lastBuildDate>Wed, 15 Nov 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://charles.thyck.top/tags/hosting/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>My domain expired 😭</title>
<link>https://charles.thyck.top/post/expired-domain/</link>
<pubDate>Wed, 15 Nov 2023 00:00:00 +0000</pubDate>
<author>[email protected] (Charles Ancheta)</author>
<guid>https://charles.thyck.top/post/expired-domain/</guid>
<description>&lt;p&gt;I hope my namesake pianist &lt;a href=&#34;https://anchetamusic.wordpress.com/about/&#34;&gt;Charles
Ancheta&lt;/a&gt; claims it back eventually.
&amp;lsquo;charlesancheta.com&amp;rsquo; used to redirect to his Facebook page before I registered
the domain as mine.&lt;/p&gt;</description>
</item>

<item>
<title>Bye bye Netlify</title>
<link>https://charles.thyck.top/post/bye-bye-netlify/</link>
Expand Down
4 changes: 2 additions & 2 deletions tags/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ <h2>G</h2>
<h2>H</h2>


<a href="https://charles.thyck.top/tags/hosting/">hosting (1)</a>
<a href="https://charles.thyck.top/tags/hosting/">hosting (2)</a>



Expand Down Expand Up @@ -454,7 +454,7 @@ <h2>T</h2>
<h2>W</h2>


<a href="https://charles.thyck.top/tags/website/">website (1)</a>
<a href="https://charles.thyck.top/tags/website/">website (2)</a>



Expand Down
38 changes: 19 additions & 19 deletions tags/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,25 @@
<managingEditor>[email protected] (Charles Ancheta)</managingEditor>
<webMaster>[email protected] (Charles Ancheta)</webMaster>
<copyright>Charles Ancheta. MIT</copyright>
<lastBuildDate>Tue, 30 May 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://charles.thyck.top/tags/index.xml" rel="self" type="application/rss+xml" />
<lastBuildDate>Wed, 15 Nov 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://charles.thyck.top/tags/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>hosting</title>
<link>https://charles.thyck.top/tags/hosting/</link>
<pubDate>Wed, 15 Nov 2023 00:00:00 +0000</pubDate>
<author>[email protected] (Charles Ancheta)</author>
<guid>https://charles.thyck.top/tags/hosting/</guid>
<description></description>
</item>

<item>
<title>website</title>
<link>https://charles.thyck.top/tags/website/</link>
<pubDate>Wed, 15 Nov 2023 00:00:00 +0000</pubDate>
<author>[email protected] (Charles Ancheta)</author>
<guid>https://charles.thyck.top/tags/website/</guid>
<description></description>
</item>

<item>
<title>c&#43;&#43;</title>
<link>https://charles.thyck.top/tags/c&#43;&#43;/</link>
Expand Down Expand Up @@ -127,15 +145,6 @@
<description></description>
</item>

<item>
<title>website</title>
<link>https://charles.thyck.top/tags/website/</link>
<pubDate>Tue, 29 Nov 2022 02:50:15 -0700</pubDate>
<author>[email protected] (Charles Ancheta)</author>
<guid>https://charles.thyck.top/tags/website/</guid>
<description></description>
</item>

<item>
<title>dev</title>
<link>https://charles.thyck.top/tags/dev/</link>
Expand Down Expand Up @@ -199,15 +208,6 @@
<description></description>
</item>

<item>
<title>hosting</title>
<link>https://charles.thyck.top/tags/hosting/</link>
<pubDate>Sun, 19 Jun 2022 00:00:00 +0000</pubDate>
<author>[email protected] (Charles Ancheta)</author>
<guid>https://charles.thyck.top/tags/hosting/</guid>
<description></description>
</item>

<item>
<title>netlify</title>
<link>https://charles.thyck.top/tags/netlify/</link>
Expand Down
Loading

0 comments on commit 959dcb9

Please sign in to comment.