Gestion de prise de rendez-vous
Go to file
Frédéric Péters c99361c999 manager: add some style onto absence reason list (#52643) 2021-04-02 08:34:32 +02:00
chrono manager: add some style onto absence reason list (#52643) 2021-04-02 08:34:32 +02:00
debian debian: set user/group of spooler directory (#51210) 2021-02-17 10:26:18 +01:00
tests manager: prevent access to recurring event detail view (#52636) 2021-04-01 16:14:01 +02:00
.git-blame-ignore-revs trivial: add .git-blame-ignore-revs to list commits reformatting the code 2021-01-11 19:56:23 +01:00
.gitignore misc: don't inclure prebuilt css (#38664) 2019-12-20 13:05:24 +01:00
.pre-commit-config.yaml build: add pre-commit configuration to run black (#49784) 2021-01-04 09:25:22 +01:00
COPYING include a copy of the AGPL 2016-02-13 09:17:15 +01:00
Jenkinsfile build: update to use origin/main 2020-12-26 15:21:15 +01:00
MANIFEST.in change workalendar translations setup (#48028) 2020-10-26 15:48:13 +01:00
README build: add pre-commit configuration to run black (#49784) 2021-01-04 09:25:22 +01:00
getlasso.sh jenkins: switch to tox for running tests (#15974) 2017-05-23 13:28:45 +02:00
getlasso3.sh python3: fix getlasso3.sh to get module regardless of version 2018-05-13 16:06:01 +02:00
jenkins.sh jenkins: get lasso symlinks in jenkins virtual env 2018-02-15 14:37:39 +01:00
manage.py misc: run manage.py with python3 (#36224) 2019-09-18 14:17:20 +02:00
pylint.sh jenkins: switch to tox for running tests (#15974) 2017-05-23 13:28:45 +02:00
requirements.txt remove obsolete intervaltree references 2017-12-30 11:10:38 +01:00
setup.py api: list bookings of somebody (#51187) 2021-03-01 10:07:10 +01:00
tox.ini tox: add black (via pre-commit) to tests (#50927) 2021-02-15 17:43:32 +01:00

README

Chrono
======

Chrono provides a set of management interfaces and web services to register
for activities and stuff.


Installation
------------

Dependencies can be installed with pip,

 $ pip install -r requirements.txt

It's then required to get the database configured (./manage.py migrate); by
default it will create a db.sqlite3 file.

You can then run the Django test server for a quick try (you should refer to
the Django documentation for production deployments).

 $ ./manage.py runserver


Settings
--------

Default settings are loaded from settings.py, they can be overloaded by a
local_settings.py file set in the same directory, or by a file referenced
in the CHRONO_SETTINGS_FILE environment variable.


Code Style
----------

black is used to format the code, using thoses parameters:

    black --target-version py35 --skip-string-normalization --line-length 110

There is .pre-commit-config.yaml to use pre-commit to automatically run black
before commits. (execute `pre-commit install` to install the git hook.)


Tests
-----

    pip install pytest pytest-django pytest-mock
    DJANGO_SETTINGS_MODULE=welco.settings py.test tests/

License
-------

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
details.

You should have received a copy of the GNU Affero General Public License along
with this program.  If not, see <http://www.gnu.org/licenses/>.