Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.28 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.28 KB

Website

This repository holds the code for the server running at azul3d.org.

Changes accepted into the master branch of this repository are automatically served from azul3d.org. Just submit a pull request: when your changes are accepted they'll automatically appear on the website shortly thereafter.

Overview

Folder Description
content arbitrary files served at azul3d.org/content.
pages Markdown files rendered into HTML and served under /.
mdattr Go package for parsing Markdown file attributes.
templates Go HTML templates used to render the markdown files.

Running Locally

go get -u -d azul3d.org/website
cd $GOPATH/src/azul3d.org/website
go build
./website -https= -http=:8080 -update=false

Notes

  • Conveniently, the -d flag instructs go get to not install, but rather just download, the website command.
  • go build places the website binary into the current directory.
  • -https= tells it not to serve over HTTPS, because you don't have the certificates.
  • -update=false instructs the server to not pull changes from the remote Git repository.