lemoer / keepitup

The KeepItUp service pings Freifunk nodes and notifies users if their nodes are down. Live here: https://keepitup.ffh.zone/
1 stars 2 forks source link

KeepItUp

New Concept (Notes)

Nodes have:

Node states:

Debian Dependencies

apt install python3 python3-venv composer

Install

cd /opt
git clone https://github.com/lemoer/keepitup
cd keepitup
cp config.py.example config.py
# edit your config file now
bash setup.sh --systemwide
systemctl start keepitup.target
systemctl start keepitup-update-nodes.service

Translations

There is a shell command to help with translation workflows:

(venv) lemoer@orange ~/d/f/g/keepitup (main)> ./translate.sh
This small script helps in doing the translation workflows.

Suppose you have added new _('...') or gettext() calls to your *.py or templates/:

    ./translate.sh update
    # edit translations/de/LC_MESSAGES/messages.po
    ./translate.sh compile