Détail des coûts des services afin de permettre la pratique du prix libre.
|
6 years ago | |
---|---|---|
costs | 6 years ago | |
publicsite | 6 years ago | |
transparency | 6 years ago | |
.gitignore | 9 years ago | |
README.md | 6 years ago | |
manage.py | 9 years ago | |
requirements.txt | 6 years ago |
It's still alpha-pre-ugly-looking and some strings are mentioning FAImaison, more usable version may be integrated to coin.
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 development server
source ../transparency_venv/bin/activate # if it is not already done
echo 'DEBUG=True' >> transparency/local_settings.py
./manage.py runserver