mirror of
https://github.com/weewx/weewx.git
synced 2026-04-18 08:36:54 -04:00
make target `pypi-packages` copies them back into `wee_resources` before invoking `poetry build`
basic - a very basic WeeWX skin
Copyright 2014-2023 Matthew Wall
This example illustrates how to implement a skin and package it so that it can be installed by the extension installer. It also illustrates how to internationalize a skin.
Installation instructions using the installer (recommended)
-
install the extension.
For pip installs:
weectl extension install ~/weewx-data/examples/basicFor package installs
sudo weectl extension install /usr/share/doc/weewx/examples/basic -
Restart WeeWX
sudo systemctl restart weewx
Manual installation instructions
-
Copy files to the WeeWX skins directory.
If you used the pip install method:
cd ~/weewx-data cp -rp skins/basic skinsIf you used a package installer:
cd /usr/share/doc/weewx/examples/basic sudo cp -rp skins/basic/ /etc/weewx/skins/ -
In the WeeWX configuration file, add a report
[StdReport] ... [[basic]] skin = basic HTML_ROOT = public_html/basic lang = en unit_system = us -
Restart WeeWX
sudo systemctl restart weewx