From 2faa8fbe27a9eb82e46cdc694d3156027e7b3428 Mon Sep 17 00:00:00 2001 From: aceberg <1502200+aceberg@users.noreply.github.com> Date: Mon, 19 Feb 2024 18:56:38 +0700 Subject: [PATCH] Workflows, Readme upd --- .github/workflows/dev-docker.yml | 2 +- .github/workflows/main-docker.yml | 2 +- .github/workflows/readme-dockerhub.yml | 2 +- README.md | 38 +++++++++++++------------- docker-compose-local.yml | 12 ++++---- docker-compose.yml | 10 +++---- docs/ROADMAP.md | 29 -------------------- 7 files changed, 33 insertions(+), 62 deletions(-) delete mode 100644 docs/ROADMAP.md diff --git a/.github/workflows/dev-docker.yml b/.github/workflows/dev-docker.yml index 6391c6a..8658360 100644 --- a/.github/workflows/dev-docker.yml +++ b/.github/workflows/dev-docker.yml @@ -4,7 +4,7 @@ on: workflow_dispatch: env: - IMAGE_NAME: exercisediary + IMAGE_NAME: clickahabit TAGS: dev diff --git a/.github/workflows/main-docker.yml b/.github/workflows/main-docker.yml index fec2a1b..e0bb7e7 100644 --- a/.github/workflows/main-docker.yml +++ b/.github/workflows/main-docker.yml @@ -9,7 +9,7 @@ on: # - 'src/**' env: - IMAGE_NAME: exercisediary + IMAGE_NAME: clickahabit jobs: build: diff --git a/.github/workflows/readme-dockerhub.yml b/.github/workflows/readme-dockerhub.yml index 5d9dfc7..f4c85fa 100644 --- a/.github/workflows/readme-dockerhub.yml +++ b/.github/workflows/readme-dockerhub.yml @@ -8,7 +8,7 @@ on: - 'README.md' env: - IMAGE_NAME: exercisediary + IMAGE_NAME: clickahabit jobs: build: diff --git a/README.md b/README.md index aa9017c..21caa1b 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,20 @@ -[![Main-Docker](https://github.com/aceberg/exercisediary/actions/workflows/main-docker.yml/badge.svg)](https://github.com/aceberg/exercisediary/actions/workflows/main-docker.yml) -[![Go Report Card](https://goreportcard.com/badge/github.com/aceberg/exercisediary)](https://goreportcard.com/report/github.com/aceberg/exercisediary) +[![Main-Docker](https://github.com/aceberg/clickahabit/actions/workflows/main-docker.yml/badge.svg)](https://github.com/aceberg/clickahabit/actions/workflows/main-docker.yml) +[![Go Report Card](https://goreportcard.com/badge/github.com/aceberg/clickahabit)](https://goreportcard.com/report/github.com/aceberg/clickahabit) [![Maintainability](https://api.codeclimate.com/v1/badges/e8f67994120fc7936aeb/maintainability)](https://codeclimate.com/github/aceberg/ClickAHabit/maintainability) -![Docker Image Size (latest semver)](https://img.shields.io/docker/image-size/aceberg/exercisediary) +![Docker Image Size (latest semver)](https://img.shields.io/docker/image-size/aceberg/clickahabit) -

- +

+ Click A Habit

-Workout diary with GitHub-style year visualization +Work in progress -- [Quick start](https://github.com/aceberg/exercisediary#quick-start) -- [Config](https://github.com/aceberg/exercisediary#config) -- [Options](https://github.com/aceberg/exercisediary#options) -- [Local network only](https://github.com/aceberg/exercisediary#local-network-only) +- [Quick start](https://github.com/aceberg/clickahabit#quick-start) +- [Config](https://github.com/aceberg/clickahabit#config) +- [Options](https://github.com/aceberg/clickahabit#options) +- [Local network only](https://github.com/aceberg/clickahabit#local-network-only) - [Roadmap](https://github.com/aceberg/ClickAHabit/blob/main/docs/ROADMAP.md) -- [Thanks](https://github.com/aceberg/exercisediary#thanks) +- [Thanks](https://github.com/aceberg/clickahabit#thanks) ![Screenshot](https://raw.githubusercontent.com/aceberg/ClickAHabit/main/assets/Screenshot%202023-12-25%20at%2023-19-08%20Exercise%20Diary.png) @@ -22,11 +22,11 @@ Workout diary with GitHub-style year visualization ## Quick start ```sh -docker run --name exdiary \ +docker run --name clickahabit \ -e "TZ=Asia/Novosibirsk" \ -v ~/.dockerdata/ClickAHabit:/data/ClickAHabit \ --p 8851:8851 \ -aceberg/exercisediary +-p 8852:8852 \ +aceberg/clickahabit ``` Or use [docker-compose.yml](docker-compose.yml) @@ -61,18 +61,18 @@ docker run --name node-bootstrap \ aceberg/node-bootstrap ``` ```sh -docker run --name exdiary \ +docker run --name clickahabit \ -v ~/.dockerdata/ClickAHabit:/data/ClickAHabit \ - -p 8851:8851 \ - aceberg/exercisediary -n "http://$YOUR_IP:8850" + -p 8852:8852 \ + aceberg/clickahabit -n "http://$YOUR_IP:8850" ``` Or use [docker-compose](docker-compose-local.yml) ## Roadmap -Moved to [docs/ROADMAP.md](docs/ROADMAP.md) + ## Thanks -- All go packages listed in [dependencies](https://github.com/aceberg/exercisediary/network/dependencies) +- All go packages listed in [dependencies](https://github.com/aceberg/clickahabit/network/dependencies) - [Bootstrap](https://getbootstrap.com/) - Themes: [Free themes for Bootstrap](https://bootswatch.com) - [Chart.js](https://github.com/chartjs/Chart.js) and [chartjs-chart-matrix](https://github.com/kurkle/chartjs-chart-matrix) diff --git a/docker-compose-local.yml b/docker-compose-local.yml index 368704f..a7df4b0 100644 --- a/docker-compose-local.yml +++ b/docker-compose-local.yml @@ -7,19 +7,19 @@ services: - 8850:8850 volumes: - ~/.dockerdata/icons:/app/icons # For local icons - exdiary: - image: aceberg/exercisediary + clickahabit: + image: aceberg/clickahabit restart: unless-stopped ports: - - 8851:8851 + - 8852:8852 command: "-n http://YOUR_IP:8850" # Put your server IP or DNS name here depends_on: - node-bootstrap volumes: - ~/.dockerdata/ClickAHabit:/data/ClickAHabit # app data (set your own path instead of dockerdata) environment: - TZ: Asia/Novosibirsk # required, default "" + TZ: Asia/Novosibirsk # required, default: "" HOST: "0.0.0.0" # optional, default: 0.0.0.0 - PORT: "8851" # optional, default: 8851 - THEME: "grass" # optional, default: grass + PORT: "8852" # optional, default: 8852 + THEME: "united" # optional, default: united COLOR: "light" # optional, default: light \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 0585b72..33fe7c7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,15 +1,15 @@ version: "3" services: - exdiary: - image: aceberg/exercisediary + clickahabit: + image: aceberg/clickahabit restart: unless-stopped ports: - - 8851:8851 + - 8852:8852 volumes: - ~/.dockerdata/ClickAHabit:/data/ClickAHabit environment: TZ: Asia/Novosibirsk # required, default: "" HOST: "0.0.0.0" # optional, default: 0.0.0.0 - PORT: "8851" # optional, default: 8851 - THEME: "grass" # optional, default: grass + PORT: "8852" # optional, default: 8852 + THEME: "united" # optional, default: united COLOR: "light" # optional, default: light \ No newline at end of file diff --git a/docs/ROADMAP.md b/docs/ROADMAP.md deleted file mode 100644 index b6ca1eb..0000000 --- a/docs/ROADMAP.md +++ /dev/null @@ -1,29 +0,0 @@ -# Roadmap - -## DONE -- [x] HeatMap -- [x] Left/Right buttons for date -- [x] Local Themes and JS -- [x] BodyWeight Chart -- [x] Weight page -- [x] Version on Config page -- [x] Statistics page - -## IN PROGRESS -- [ ] Mobile layout - -## TODO -- [ ] Login/Password -- [ ] PostgreSQL DB option - -## MAYBE - -- [ ] Add exercise group with 1 button -- [ ] Sets [#1](https://github.com/aceberg/ClickAHabit/issues/1) -- [ ] Weight field take decimals [#4](https://github.com/aceberg/ClickAHabit/issues/4) -- [ ] Multiple users - -## NOT DOING - -- Sync or import from other apps -- Running map or other things for running \ No newline at end of file