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

jocelyn 05cf25034c Merge branch 'feat-AbstractUse-help-text' of daimrod/transparency into master 6 years ago
costs 7915c6a79b Ajout d'un champ Aide aux Services, Coûts et Matériels associés 6 years ago
publicsite c9ad73b50b Parler de brouillon plutôt que de « étude ou estimation » 6 years ago
transparency 5d439cc373 Upgrade to Django 1.10 6 years ago
.gitignore 5325018729 Use a local_settings.py file 9 years ago
README.md b36405eeb5 Remind user to activate the previously created virtualenv 6 years ago
manage.py 8886470a44 Initial commit 9 years ago
requirements.txt 5d439cc373 Upgrade to Django 1.10 6 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 virtualenv
virtualenv transparency_venv
git clone https://code.ffdn.org/jocelyn/transparency
cd transparency
source ../transparency_venv/bin/activate
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 'ORGANIZATION_NAME="ACME Charity"' >> transparency/local_settings.py

Create database:

./manage.py migrate

Create administrator account:

./manage.py createsuperuser

Run it

Run development server

source ../transparency_venv/bin/activate # if it is not already done
echo 'DEBUG=True' >> transparency/local_settings.py
./manage.py runserver

Use it