X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=README.md;h=8151c4d9c3644c7831176d5e005ba2d16cd15b20;hb=5fa6b6cfa6b3010279ead23088add5c5664e8ac0;hp=763e1e662f9655635eb4df819cd81c1559408ac6;hpb=e11427508a89cddb114b7955a2273fc7b5e33ca5;p=github%2Fbastienwirtz%2Fhomer.git diff --git a/README.md b/README.md index 763e1e6..8151c4d 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ If you need authentication support, you're on your own (it can be secured using ### Using docker ```sh -sudo docker run -p 8080:8080 -v /your/local/config.yml:/www/config.yml -v /your/local/assets/:/www/assets b4bz/homer:latest +docker run -p 8080:8080 -v /your/local/config.yml:/www/config.yml -v /your/local/assets/:/www/assets b4bz/homer:latest ``` ### Manually @@ -47,6 +47,8 @@ npm run build ``` Then your dashboard is ready to use in the `/dist` directory. +The `dist` directory is meant to be served by an HTTP server, so **it will not work if you open dist/index.html directly over file:// protocol**. + Use it like any static HTML content (use a webserver or open the html index directly). ## Developement