Basic time logging tool.
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
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
./tools/ctl sql
# Run all tests
./tools/ctl test
# Or a subset of tests
./tools/ctl test tests/e2e/test_time.py tests/e2e/test_holidays.py
docker exec -it log-my-time flask db migrate -m "Description of change"
docker exec -it log-my-time flask db upgrade
# 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