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

jocelyn 524549235a Merge branch 'ed-fix-readme' of milouse/transparency into master 1 week ago
costs b786047025 Clarifie le bouton « éditer ». 2 months ago
publicsite c9ad73b50b Parler de brouillon plutôt que de « étude ou estimation » 2 months ago
transparency 061dbbe15c Add document comparison view 1 year ago
.gitignore 5325018729 Use a local_settings.py file 2 years ago
README.md b36405eeb5 Remind user to activate the previously created virtualenv 1 week ago
manage.py 8886470a44 Initial commit 3 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 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