Détail des coûts des services afin de permettre la pratique du prix libre.
|
9 years ago | |
---|---|---|
costs | 9 years ago | |
docs | 9 years ago | |
requirements | 9 years ago | |
transparency | 9 years ago | |
.gitignore | 9 years ago | |
README.md | 9 years ago | |
manage.py | 9 years ago |
It's still alpha-pre-ugly-looking and some strings are mentioning FAImaison, more usable version may be integrated to coin.
sudo apt install python3-virtualenv
virtualenv -p $(which python3) venv
source venv/bin/activate
pip install -r requirements/base.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
Create database:
./manage migrate
Run dev server
./manage.py runserver
source venv/bin/activate
./manage.py runserver
Make sure to be inside the virtualenv (source venv/bin/activate
).
Doc is using mkdocs, located in docs/ ; you can build it yourself.
Install doc dependencies :
pip install -r requirements/doc.txt
You can then build and serve it localy :
cd docs
mkdocs serve