Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 881 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 881 Bytes

Internet Cube install procedure

This is the small web UI to install an internet cube

It is injected in the yunohost/internetcube images here

Screenshots

Development

Set up a Yunohost LXC, then:

cd /var/www
git clone https://github.com/labriqueinternet/install ./install_internetcube
cd install_internetcube
source deploy/deploy.sh

Translations

It's based on Flask-Babel: https://flask-babel.tkte.ch/

Setup a dev env using the instructions from previous section, then:

source venv/bin/activate
pybabel extract -F babel.cfg -o messages.pot .
pybabel update -i messages.pot -d translations
# ... translate stuff in translations/<lang>/LC_MESSAGES/messages.po
# then compile:
pybabel compile -d translations