Skip to content

Tooloop/Tooloop-Settings-Server

Repository files navigation

Deprecated

This repository is deprecated in favour of the rewritten https://github.com/tooloop/Tooloop-Control. It has a much more modern (i. e. easier to maintain) aproach for the frontend code using Vue components and the Bulma CSS framework.

Tooloop Settings Server

A browser based settings app for Tooloop OS. It’s using the Flask framework.

Install

Clone the repository to /opt/tooloop/settings-server

git clone https://github.com/vollstock/Tooloop-Settings-Server.git /opt/tooloop/settings-server

Install dependencies

sudo bash /opt/tooloop/settings-server/install-dependencies.sh

Install systemd service

sudo nano /etc/systemd/system/tooloop-settings-server.service

[Unit]
Description=Tooloop settings server

[Service]
Environment=DISPLAY=:0
Environment=XAUTHORITY=/home/tooloop/.Xauthority
ExecStart=/usr/bin/python /opt/tooloop/settings-server/tooloop-settings-server.py
Restart=always

[Install]
WantedBy=graphical.target

Enable and start the service

sudo systemctl enable tooloop-settings-server.service
sudo systemctl start tooloop-settings-server.service

Run debug

sudo systemctl stop tooloop-settings-server.service && sudo python /opt/tooloop/settings-server/tooloop-settings-server.py

Credits

Flask (dynamically linked) The Tooloop Settings Server is based on the Flask framework which is licensed under a three clause BSD License. Read about the Flask license.

Python Augeas (dynamically linked) GNU Lesser General Public License v2.1

Python Crontab (dynamically linked) GNU Lesser General Public License v3

JQuery MIT license

Flot http://www.flotcharts.org/ MIT license

FastClick MIT license Copyright: The Financial Times Limited [All Rights Reserved]

JQuery Mask https://igorescobar.github.io/jQuery-Mask-Plugin/ MIT license