Docs and starting prompt
This commit is contained in:
parent
72af9f7e5f
commit
7b61c3eb5e
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
1
main.go
1
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")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue