https://github.com/nens/trs
Time Registration System (company-internal)
https://github.com/nens/trs
adviseurwebsite
Last synced: 20 days ago
JSON representation
Time Registration System (company-internal)
- Host: GitHub
- URL: https://github.com/nens/trs
- Owner: nens
- License: gpl-3.0
- Created: 2013-10-21T10:01:39.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2025-06-06T13:15:54.000Z (about 1 month ago)
- Last Synced: 2025-06-09T10:47:11.698Z (about 1 month ago)
- Topics: adviseurwebsite
- Language: Python
- Homepage:
- Size: 1.37 MB
- Stars: 0
- Watchers: 31
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- License: LICENSE.rst
Awesome Lists containing this project
README
Time registration system ("TRS")
==========================================.. image:: https://travis-ci.org/nens/trs.png?branch=master
:target: https://travis-ci.org/nens/trs.. image:: https://coveralls.io/repos/nens/trs/badge.png?branch=master
:target: https://coveralls.io/r/nens/trs?branch=master`Nelen & Schuurmans `_-internal tool for,
basically, booking our hours and managing projects.Local development installation
------------------------------Grab the sqlite db from the server::
$ scp the.server.name:/srv/trs.nelen-schuurmans.nl/var/db/trs.db var/db/
Add a ``.env`` with the nens-auth-client cognito settings for localhost.
Some commands::
$ make install
$ make test
$ pre-commit run --allKeep the python version in sync between the ``Dockerfile`` and the ``pyproject.toml``
(``requires-python`` and ``target-version``).To test the docker setup::
$ docker compose build
$ docker compose upServer installation
-------------------For a production installation, see the private
https://github.com/nens/trs-site repo.Weeks
-----A ``YearWeek`` is the core time object in the site: every year+week
combination has its own database object for easy filtering. They must be
created with a management command::$ bin/python manage.py update_weeks
It is safe to run this command more than once. In case this site is still used
after 2028: adjust the ``TRS_END_YEAR`` setting and run the command again :-)