https://github.com/halimath/hello-http-server
Simple Demo HTTP Server written in go with docker packaging for testing infrastructure setups
https://github.com/halimath/hello-http-server
Last synced: 10 months ago
JSON representation
Simple Demo HTTP Server written in go with docker packaging for testing infrastructure setups
- Host: GitHub
- URL: https://github.com/halimath/hello-http-server
- Owner: halimath
- Created: 2018-03-11T14:25:41.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-11T19:33:49.000Z (almost 8 years ago)
- Last Synced: 2025-01-22T03:27:50.827Z (11 months ago)
- Language: Go
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hello-http-server
A simple "Hello, world" http server written in go and packaged as a Docker container.
Used to function test any Docker based deployment infrastructure.
## Building the server
```
$ make hello-http-server
```
to build the server.
## Running the server
Build before you run
```
$ ./hello-http-server
```
to start the server running on port :8080. Open http://localhost:8080/ in your browser to test.
## Building the Docker image
```
$ make docker-image
```
will build the server and bundle it as a docker image. The image will be tagged `hello-world-server:$VERSION` where `$VERSION` is defined in the [Makefile](./Makefile)