tot-go-webapp

Sample golang web application for The Tao of tmux and Terminal Tricks

MIT License

Stars
7
Committers
1

Tony's sample golang app

Same golang web application for The Tao of tmux and Terminal Tricks.

Features

  • Makefile with file watching functionality from the book

    • make build - generate game app

    • make watch_build - rebuild build application on code file change

    • make run - launch server

    • make watch_run launch server and restart on file change

    • make lint - golint

    • make watchlint relint on file change

    • make metalint - gometalinter

    • make watchmetalint - gometalinter on file change

  • Load project with tmuxp via $ tmuxp load . in the project directory. See .tmuxp.yaml

Dependencies

Installation

Grab project and go dependencies:

$ go get -u github.com/tony/tot-go-webapp

Install CSS dependencies (from project dir):

$ bower install

Build n' run

$ make run

Then go to http://localhost:8080

License

MIT.