diff --git a/Makefile b/Makefile index 82fab31..4d011f1 100644 --- a/Makefile +++ b/Makefile @@ -29,6 +29,16 @@ docker_build_release_latest: build_tailwind build_tailwind: tailwind build -o ./assets/style.css --minify +dev: build_tailwind + GIN_MODE=release \ + CONFIG_PATH=./data \ + DATA_PATH=./data \ + SEARCH_ENABLED=true \ + REGISTRATION_ENABLED=true \ + COOKIE_SECURE=false \ + COOKIE_AUTH_KEY=1234 \ + LOG_LEVEL=debug go run main.go serve + clean: rm -rf ./build diff --git a/templates/pages/home.tmpl b/templates/pages/home.tmpl index 1cc118b..3f5fbb7 100644 --- a/templates/pages/home.tmpl +++ b/templates/pages/home.tmpl @@ -4,63 +4,40 @@ {{ define "content" }}
+
Daily Read Totals
{{ $data := (getSVGGraphData .Data.GraphData 800 70 )}} - - +