Skip to content

Latest commit

 

History

History
39 lines (21 loc) · 880 Bytes

README.md

File metadata and controls

39 lines (21 loc) · 880 Bytes

Blog

Quickstart

Use nvm to install Node.js and npm:

$ nvm install
$ nvm use

Install dependencies, including Hugo:

$ make install OS=macos

Start the Hugo server with drafts enabled:

$ make serve

Create a new post at content/posts/example.md:

$ make post-example

To record a local terminal session, install Python dependencies then run asciinema:

$ pip install -r requirements.txt
$ asciinema rec example.cast

Deployment

A GitHub Actions workflow handles deployment on pushes to master. To build the site for deployment locally:

$ make build

To run the deployment script locally, install the AWS CLI, then run:

$ make deploy

To submit a newly deployed sitemap to Google:

$ make ping