Skip to content
Snippets Groups Projects
ornanovitch's avatar
ornanovitch authored
feat(l10n): docs multilanguage

See merge request !125
4a05c3e2

Hiboo

Quickstart dev guide:

Dependencies:

Debian: apt-get install python python-dev libmysqlclient-dev libpq-dev libxmlsec1-dev nodejs npm mariadb-server postgresql-libs python-pip python-virtualenv

Arch: pacman -S git python python-pip python-virtualenv nodejs npm mariadb postgresql-libs

Fedora: dnf install -y mysql-devel postgresql-devel xmlsec1-devel python3-devel libtool-ltdl-devel nodejs

Hiboo uses poetry as python dependencies manager.

Installation:

Clone Hiboo:

git clone https://forge.tedomum.net/acides/hiboo && cd hiboo

Install dependencies:

poetry install --with dev
npm ci

Import databases:

export FLASK_APP=hiboo
poetry run flask db upgrade

Generate the static folder:

./node_modules/.bin/webpack-cli

Run

export FLASK_APP=hiboo
poetry run flask run --reload

Translate

If you create or update messages in the python/html source files, don't forget to update the messages catalogs:

pybabel extract -F babel.cfg -o messages.pot hiboo/
pybabel update -i messages.pot -d hiboo/translations/

If you wish to contribute to the translation of Hiboo, join us on the dedicated Weblate repository

Test instance

Our test instance is running at: https://auth.test.tedomum.net

You can find some test services at :

Please contact us if you want specific permissions on the test instance.

Cache config

You can use all cache method with CACHE_ environment variables supported by flask_caching.