Show
- WebUI
- See logged hours in list view or calendar view.
- Edit or remove existing entries.
- Generate an API token to use the REST API.
- Punch in or out directly from the WebUI.
- Export monthly CSV files.
- REST API
- One simple endpoint to punch in or out if already punched in (toggle):
/api/punch
. - BEARER authentication.
- One simple endpoint to punch in or out if already punched in (toggle):
See the development env
file or the production env
file for available configurations.
If you want to use the productive Docker image, don't forget to check the nginx.conf file and adapt it accordingly.
- Build the image
$ docker compose -f docker-compose.dev.yml up --build
- Add the initial admin user
$ docker compose -f docker-compose.dev.yml exec web python manage.py createsuperuser --username=admin [email protected]
Run the available tests with
$ docker compose exec web python manage.py test
- Build the image
$ docker compose -f docker-compose.prod.yml up --build
- Create the database layout
$ docker compose -f docker-compose.prod.yml exec web python manage.py migrate --no-input
- Collect the static files for nginx
$ docker compose -f docker-compose.prod.yml exec web python manage.py collectstatic --no-input --clear
- Add the initial admin user
$ docker compose -f docker-compose.prod.yml exec web python manage.py createsuperuser --username=admin [email protected]
Visit the website under http://127.0.0.1:8000.
Visit the website under http://127.0.0.1.