Skip to content

HTML Architecture and Development Guide

Brian Wigginton edited this page Feb 26, 2015 · 1 revision

Overview

The HTML frontend runs a web server on http://localhost:8080. Load this in your browser of choice and you will see the application running.

Developing

You can make changes to frontend/html/index.html, then just refresh your browser.

Getting Started

Run go run main.go from the frontend/html directory to start the web server.

Under the Hood

The first thing go does when running main.go is it looks for a func main. main() then calls t.loop, which starts the http server.

Logging & Log Level

We by default have a very loud log configuration turned on. To minimize it you can set the log level to DEBUG instead of FINEST