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

jocelyn 4b7f9274aa Merge branch 'doc-README' of daimrod/transparency into master 1 year ago
costs b4e6af9618 Export texte de la vue comparée 1 year ago
publicsite 662bdfe693 Allow services to be for internal use only 2 years ago
transparency 061dbbe15c Add document comparison view 1 year ago
.gitignore 5325018729 Use a local_settings.py file 3 years ago
README.md cf463237d2 Small README improvements 1 year ago
manage.py 8886470a44 Initial commit 3 years ago
requirements.txt 3a6354c879 Handle description/notes as markdown 3 years ago


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