Run:
docker-compose build docker-compose up
The State Audit Service of Ukraine (SAS / ДАСУ) Державна аудиторська служба України (Держаудитслужба) є центральним органом виконавчої влади, дiяльнiсть якого спрямовується i координується Кабiнетом Мiнiстрiв України та який забезпечує формування i реалiзує державну полiтику у сферi державного фiнансового контролю.
The module provides ability to start and publish monitoring processes of open procurement tenders in order to prevent any violations of the law.
There are two types of users use the module: - SAS staff (they can manage monitoring objects) - brokers (deliver tender owners' responses and clarifications regarding open monitoring objects)
auth.ini should contain [sas] group so that SAS staff users are able to pass the authorization
Install requirements by running:
pip install -r requirements.txt -e .[test,docs]
Add "couchdb" to be resolved to localhost in /etc/hosts:
echo "127.0.0.1 couchdb" >> /etc/hosts
To run couchdb if you don't have one:
docker-compose up -d
Running tests to update http files:
py.test docs.py # all py.test docs.py -k test_case # specific
Run:
cd docs make html
For translation into uk (2 letter ISO language code), you have to follow the scenario:
Pull all translatable strings out of documentation:
cd docs make gettext
Update translation with new/changed strings:
cd docs sphinx-intl update -p build/locale -l uk
Update updated/missing strings in docs/source/locale/<lang>/LC_MESSAGES/*.po with your-favorite-editor/poedit/transifex/pootle/etc. to have all translations complete/updated.
Compile the translation:
cd docs sphinx-intl build