Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 513 Bytes

File metadata and controls

38 lines (26 loc) · 513 Bytes

Hello World Sample App

Nothing much

How to run

Docker

docker build --no-cache -t hello-world .
docker run -it -e PORT=8085 -e INSTANCE_ID=some-text -p 8085:8085 novalagung/hello-world

Windows (non-docker)

set PORT=8083
set INSTANCE_ID=some-text
go run main.go

Nix/Linux (non-docker)

export PORT=8083
export INSTANCE_ID=some-text
go run main.go

Go CLI

PORT=8083 INSTANCE_ID=some-text go run main.go

Author

Noval Agung Prayogo