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

jocelyn 001436bf3b Merge branch 'fix-typo-tab' of daimrod/transparency into master 1 month ago
costs 19325bb6a5 Uniformise l'utilisation de l'expression "coût de revient" 3 months ago
publicsite 001436bf3b Merge branch 'fix-typo-tab' of daimrod/transparency into master 1 month ago
transparency 061dbbe15c Add document comparison view 9 months ago
.gitignore 5325018729 Use a local_settings.py file 2 years ago
README.md cf463237d2 Small README improvements 3 months ago
manage.py 8886470a44 Initial commit 2 years ago
requirements.txt 3a6354c879 Handle description/notes as markdown 2 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