Skip to content
This repository was archived by the owner on Sep 23, 2021. It is now read-only.

Commit 7b61c3e

Browse files
committed
Docs and starting prompt
1 parent 72af9f7 commit 7b61c3e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Readme.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ go run main.go
2121

2222
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.
2323

24+
Run with docker
25+
26+
```shell
27+
docker run -it -p 8080:8080 -v $(pwd)/slides:/app/slides msoedov/hacker-slides
28+
```
29+
30+
2431
### Todos:
2532
- Docker image
2633

main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,5 +163,6 @@ func NewApp() *gin.Engine {
163163

164164
func main() {
165165
r := NewApp()
166+
log.Info("Started http://0.0.0.0:8080")
166167
r.Run(":8080")
167168
}

0 commit comments

Comments
 (0)