Détail des coûts des services afin de permettre la pratique du prix libre.

CapsLock bbae318472 Fix #7 : erreur interne sur le site public lors de la consultation d'une installation fraiche 6 years ago
costs 19325bb6a5 Uniformise l'utilisation de l'expression "coût de revient" 7 years ago
publicsite bbae318472 Fix #7 : erreur interne sur le site public lors de la consultation d'une installation fraiche 6 years ago
transparency 061dbbe15c Add document comparison view 7 years ago
.gitignore 5325018729 Use a local_settings.py file 9 years ago
README.md cf463237d2 Small README improvements 7 years ago
manage.py 8886470a44 Initial commit 9 years ago
requirements.txt 3a6354c879 Handle description/notes as markdown 9 years ago

README.md

Transparency: detail costs for libre price

It's still alpha-pre-ugly-looking and some strings are mentioning FAImaison, more usable version may be integrated to coin.

Install it

Be sure to use python3.

sudo apt-get install python virtualenvwrapper
mkvirtualenv transparency
pip install -r requirements.txt

Generate a secret key:

echo SECRET_KEY=`python -c "import string,random; uni=string.ascii_letters+string.digits+string.punctuation; print(repr(''.join([random.SystemRandom().choice(uni) for i in range(random.randint(45,50))])))"` > transparency/local_settings.py

Set your organization name :

echo 'ORGANISATION_NAME="ACME Charity"' >> transparency/local_settings.py

Create database:

./manage.py migrate

Run it

Run development server

workon transparency
./manage.py runserver

Use it