After one whole month, the blog is finally in a presentable state! This post goes through a quick brief on how to start using the blog. An up to date version of this guide can always be found here: https://github.com/nelsontky/auson/blob/master/README.md
Learn git using Git It.
Download and install nodejs from here.
Clone this repo:
git clone https://github.com/nelsontky/auson.git
On your command line, navigate to the folder of the cloned repo.
Once in that folder, run:
npm install
Finally, run:
npm run start
After loading, you can visit http://localhost:8000
with your web browser to
see a developmental version of the site!
http://localhost:8000
./src
folder in this repo, you can see two folders, posts/
and letters/
.Posts go into the posts/
folder, while letters go into the letters/
folder.
posts/
folder and follow the naming conventions (using hyphens to
separate words and all small letters) and create a new .md
file. The
markdown file will become a post.Referring to the existing posts, you will see this at the top of the .md
file, there is this segment:
---
title: "Sample letter"
date: "2020-05-18"
---
Post content...
YYYY-MM-DD
format.http://localhost:8000
as you work on it.Finally, deploy the site by running:
npm run deploy