danstewart / log-my-time

Home Page:https://logmytime.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Log My Time

Basic time logging tool.

Demo

file


Setup

Running with docker

First create the config/app_config.py, then start on http://localhost:4000/ via docker

# Dev mode
docker-compose up -d --build app

# Prod mode
docker compose -f docker-compose.yml up -d --build

Install dependencies locally

Requires python 3.12

# Install JS linter
npm install

# Install python deps with pipenv
pipenv install --categories="packages dev-packages local-packages"

# Start a pipenv shell
pipenv shell

Connecting to the database

./tools/ctl sql

Running the tests

./tools/ctl test

Database migrations

docker exec -it log-my-time flask db migrate -m "Description of change"
docker exec -it log-my-time flask db upgrade

Custom Bootstrap CSS

# Bootstrap overrides can be found in scss/custom.scss
# The build.sh command compiles this to app/static/css/bootstrap.css
cd scss
./build.sh

Built with

About

https://logmytime.app


Languages

Language:Python 46.9%Language:Jinja 41.0%Language:JavaScript 5.4%Language:Shell 2.5%Language:SCSS 1.2%Language:HTML 1.1%Language:CSS 0.9%Language:Dockerfile 0.8%Language:Mako 0.2%