Dummy web application written in Go
GNU Make | (>= 4.1) |
git | (>= 2.0) |
Go | (>= 1.5) |
$ git clone https://github.com/ContainerSolutions/gapp.git
$ make build
This will compile the application and place the generated binary under bin/app
.
$ make test
will run all the tests.
To run the application directly with Go:
$ make run
By default, the application will try to bind to port 8000
and will fail if the port
is not available.
If you wish to run the application using the compiled version, run it like this:
$ VERSION=1.0 ./bin/app