Same golang web application for The Tao of tmux and Terminal Tricks.
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
Grab project and go dependencies:
$ go get -u github.com/tony/tot-go-webapp
Install CSS dependencies (from project dir):
$ bower install
$ make run
Then go to http://localhost:8080
MIT.