website

command module
v0.0.0-...-9bea942 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2016 License: BSD-3-Clause Imports: 17 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package mdattr parses Markdown file attributes.
Package mdattr parses Markdown file attributes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL