Skip to content
Snippets Groups Projects
Commit 3fee8d63 authored by kaiyou's avatar kaiyou
Browse files

Merge branch '79-configurer-un-nouveau-weblate' into 'master'

Traduction : mise à jour du catalogue de messages

Closes #79

See merge request !48
parents 64f1d4df 3fadfbf8
No related branches found
No related tags found
No related merge requests found
......@@ -2,39 +2,38 @@
### Quickstart dev guide:
#### Dependencies:
#### Dependencies:
Debian:
Debian:
`
apt-get install python python-dev libmysqlclient-dev libpq-dev libxmlsec1-dev nodejs npm mariadb-server postgresql-libs python-pip python-virtualenv
`
Arch:
Arch:
`
pacman -S git python python-pip python-virtualenv nodejs npm mariadb postgresql-libs
pacman -S git python python-pip python-virtualenv nodejs npm mariadb postgresql-libs
`
Fedora:
Fedora:
`
dnf install -y mysql-devel postgresql-devel xmlsec1-devel python3-devel libtool-ltdl-devel nodejs
`
#### Installation:
Clone Hiboo:
Clone Hiboo:
```
git clone https://forge.tedomum.net/acides/hiboo && cd hiboo
git clone https://forge.tedomum.net/acides/hiboo && cd hiboo
```
Create virtualenv and activate it:
Create virtualenv and activate it:
```
mkdir venv
virtualenv venv
source venv/bin/activate
source venv/bin/activate
```
Install dependencies:
Install dependencies:
```
pip install -r requirements.txt
npm install
......@@ -46,17 +45,28 @@ export FLASK_APP=hiboo
flask db upgrade
```
Generate the static folder:
Generate the static folder:
```
./node_modules/.bin/webpack-cli
./node_modules/.bin/webpack-cli
```
#### Run
#### Run
```
export FLASK_APP=hiboo
flask run --reload
```
#### Translate
If you create or update messages in the `python`/`html` source files, don't forget to update the messages catalogs:
```sh
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](https://glotte.felinn.org/projects/hiboo/forge-tedomum-hiboo/)
### Test instance
Our test instance is running at: https://auth.test.tedomum.net
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment