From bee51f8ecc797048fc1058c4ccb8acb1cef5fd76 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Wed, 17 Feb 2016 09:30:14 +0100 Subject: Listen to the world --- Makefile | 3 +++ wiki.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 22a55e6..e739e99 100644 --- a/Makefile +++ b/Makefile @@ -10,3 +10,6 @@ publish: build clean: go clean + +rmi: + docker rmi $(docker images -f 'dangling=true' -q) diff --git a/wiki.go b/wiki.go index 5bc3a5d..cdb49c2 100644 --- a/wiki.go +++ b/wiki.go @@ -39,5 +39,5 @@ func (p *Page) render(w http.ResponseWriter, tmpl *template.Template) { } func main() { - http.ListenAndServe("localhost:8080", nil) + http.ListenAndServe(":8080", nil) } -- cgit v1.2.3 From 7f0f2de66e4d68683918222f97d2937b9dd810f1 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Wed, 17 Feb 2016 09:34:21 +0100 Subject: Format textarea --- assets/css/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/css/style.css b/assets/css/style.css index 7b83916..5f46714 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -5,7 +5,7 @@ body { h1 { color: #F50; } -pre { +pre, textarea { font-family: 'Monofur', monospace; } a { -- cgit v1.2.3 From 5154c471370ecb75df280eb4bef2e5c44fd20243 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Wed, 17 Feb 2016 09:37:00 +0100 Subject: build with no cache --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e739e99..260a0df 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ TAG = monique.moccu:5000/gowiki all: publish build: - docker build -t ${TAG} . + docker build -t ${TAG} --rm --no-cache . publish: build docker push ${TAG} -- cgit v1.2.3