Leo-Schmit / hTrackerIU

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation

# pip3 install hTrackerIU
# hTrackerIU
open http://localhost:8095

You can also download the source code and choose one of the three options:

Using makefile

# make start
open http://localhost:8095

Using Docker

# docker compose run --rm init-db
# docker compose up -d htracker-iu
open http://localhost:8095

Using Python

# python3 run.py
open http://localhost:8095

How to use

Add a New Habit

Mark a Habit

Current Streak

Details

Delete Habit

Analytics

Development

Run Backend Tests

# make test

Rebuild Backend Docker Container

# make build

Initialize the Database with Samples

# make init-db

Start Backend in Development Mode

# make start-be

Generate Frontend Client Using OpenAPI Generator

# make client

Start Frontend in Development Mode

# make start-fe

Create Production Build of Frontend

# make build-fe

Stop All Containers

# make stop

Run PEP 8 Check

# make pep8-check

Run PEP 8 Fix

# make pep8-fix

About


Languages

Language:Python 45.9%Language:TypeScript 34.1%Language:JavaScript 15.8%Language:HTML 1.6%Language:Shell 1.4%Language:Makefile 0.9%Language:Dockerfile 0.3%