This is my personal website.
You need the latest version of Go installed.
First, clone the repository:
$ git clone https://github.com/astrophena/site
$ cd site
To serve the site locally, run:
$ go tool serve
This command starts a development server at http://localhost:3000
and
automatically rebuilds the site when files in the pages
, static
, or
templates
directories are changed.
To generate a production-ready build, use:
$ go tool build -prod
The static files will be placed in the build/
directory.
To set up the Git pre-commit hook for development:
$ go tool pre-commit