... | ... | @@ -10,6 +10,7 @@ curl -s https://rabenwetter.de/update.sh |sh -s -- </path/to/rabenwetter/skin/> |
|
|
````
|
|
|
curl -s https://rabenwetter.de/update.sh |sh -s -- /etc/weewx/skins/Rabenwetter/ en
|
|
|
````
|
|
|
> May need sudo, depending on your configuration.
|
|
|
|
|
|
# Manual update
|
|
|
|
... | ... | @@ -18,28 +19,28 @@ curl -s https://rabenwetter.de/update.sh |sh -s -- /etc/weewx/skins/Rabenwetter/ |
|
|
> git clone https://gitlab.ambhost.net/stimpy/template_rabenwetter.git
|
|
|
> ```
|
|
|
|
|
|
2. **Delete skin.conf file:**
|
|
|
> ```
|
|
|
> rm dist/skin.conf
|
|
|
> ```
|
|
|
|
|
|
3. **Remove (or rename) all the page templates, you don't want to overwrite:**
|
|
|
2. **Remove (or rename) all the page templates, you don't want to overwrite:**
|
|
|
> ```
|
|
|
> rm dist/info.html.tmpl
|
|
|
> rm dist/contact.html.tmpl
|
|
|
> ```
|
|
|
|
|
|
4. **Localize template:**
|
|
|
3. **Localize template:**
|
|
|
> ```
|
|
|
> cp -r dist/i18n/en/* dist/
|
|
|
> ```
|
|
|
> *Available languages:* `ls dist/i18n/`
|
|
|
|
|
|
5. **Delete remaining l10n files:**
|
|
|
4. **Delete remaining l10n files:**
|
|
|
> ```
|
|
|
> rm -r dist/i18n
|
|
|
> ```
|
|
|
|
|
|
5. **Rename skin.conf file:**
|
|
|
> ```
|
|
|
> mv dist/skin.conf dist/skin.conf.dist
|
|
|
> ```
|
|
|
|
|
|
6. **Adjust owner and group (change user and group according to who's running weewx on your system):**
|
|
|
> ```
|
|
|
> chown -R weewx:weewx dist
|
... | ... | @@ -62,7 +63,7 @@ curl -s https://rabenwetter.de/update.sh |sh -s -- /etc/weewx/skins/Rabenwetter/ |
|
|
|
|
|
10. **Check `src/skin.conf` for changes and manually add them to your `/etc/weewx/skins/Rabenwetter/skin.conf`:**
|
|
|
> ```
|
|
|
> diff -aur src/skin.conf /etc/weewx/skins/Rabenwetter/skin.conf
|
|
|
> diff -aur /etc/weewx/skins/Rabenwetter/skin.conf.dist /etc/weewx/skins/Rabenwetter/skin.conf
|
|
|
> ```
|
|
|
|
|
|
11. **Restart weewx** |
|
|
\ No newline at end of file |