diff --git a/Readme.md b/Readme.md index 24d822d..39b5e33 100644 --- a/Readme.md +++ b/Readme.md @@ -21,6 +21,13 @@ go run main.go And then you can just open [http://127.0.0.1:8080](http://127.0.0.1:8080) and it's ready to use with sample slides. +Run with docker + +```shell +docker run -it -p 8080:8080 -v $(pwd)/slides:/app/slides msoedov/hacker-slides +``` + + ### Todos: - Docker image diff --git a/main.go b/main.go index ff808bb..9460784 100644 --- a/main.go +++ b/main.go @@ -163,5 +163,6 @@ func NewApp() *gin.Engine { func main() { r := NewApp() + log.Info("Started http://0.0.0.0:8080") r.Run(":8080") }