Docs and starting prompt

This commit is contained in:
Alex Myasoedov 2017-02-07 20:03:07 -05:00
parent 72af9f7e5f
commit 7b61c3eb5e
2 changed files with 8 additions and 0 deletions

View file

@ -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

View file

@ -163,5 +163,6 @@ func NewApp() *gin.Engine {
func main() {
r := NewApp()
log.Info("Started http://0.0.0.0:8080")
r.Run(":8080")
}