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.
| 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. |
go get -u -d azul3d.org/website
cd $GOPATH/src/azul3d.org/website
go build
./website -https= -http=:8080 -update=false
Notes
- Conveniently, the
-dflag instructsgo getto not install, but rather just download, thewebsitecommand. go buildplaces thewebsitebinary into the current directory.-https=tells it not to serve over HTTPS, because you don't have the certificates.-update=falseinstructs the server to not pull changes from the remote Git repository.