Skip to content

Commit

Permalink
Workflows, Readme upd
Browse files Browse the repository at this point in the history
  • Loading branch information
aceberg committed Feb 19, 2024
1 parent 511643d commit 2faa8fb
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 62 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:

env:
IMAGE_NAME: exercisediary
IMAGE_NAME: clickahabit
TAGS: dev


Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
# - 'src/**'

env:
IMAGE_NAME: exercisediary
IMAGE_NAME: clickahabit

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/readme-dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- 'README.md'

env:
IMAGE_NAME: exercisediary
IMAGE_NAME: clickahabit

jobs:
build:
Expand Down
38 changes: 19 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
[![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)

<h1><a href="https://github.com/aceberg/exercisediary">
<img src="https://raw.githubusercontent.com/aceberg/exercisediary/main/assets/logo.png" width="35" />
<h1><a href="https://github.com/aceberg/clickahabit">
<img src="https://raw.githubusercontent.com/aceberg/clickahabit/main/assets/logo.png" width="35" />
</a>Click A Habit</h1>

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)

## 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)

Expand Down Expand Up @@ -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)
Expand Down
12 changes: 6 additions & 6 deletions docker-compose-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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
29 changes: 0 additions & 29 deletions docs/ROADMAP.md

This file was deleted.

0 comments on commit 2faa8fb

Please sign in to comment.