... | @@ -29,45 +29,40 @@ curl -s https://rabenwetter.de/update.sh |sh -s -- /etc/weewx/skins/Rabenwetter/ |
... | @@ -29,45 +29,40 @@ curl -s https://rabenwetter.de/update.sh |sh -s -- /etc/weewx/skins/Rabenwetter/ |
|
> rm dist/contact.html.tmpl
|
|
> rm dist/contact.html.tmpl
|
|
> ```
|
|
> ```
|
|
|
|
|
|
4. **Delete unneeded files:**
|
|
4. **Localize template:**
|
|
> ```
|
|
|
|
> rm dist/*.own.html.tmpl
|
|
|
|
> ```
|
|
|
|
|
|
|
|
5. **Localize template:**
|
|
|
|
> ```
|
|
> ```
|
|
> cp -r dist/i18n/en/* dist/
|
|
> cp -r dist/i18n/en/* dist/
|
|
> ```
|
|
> ```
|
|
> *Available languages:* `ls dist/i18n/`
|
|
> *Available languages:* `ls dist/i18n/`
|
|
|
|
|
|
6. **Delete remaining l10n files:**
|
|
5. **Delete remaining l10n files:**
|
|
> ```
|
|
> ```
|
|
> rm -r dist/i18n
|
|
> rm -r dist/i18n
|
|
> ```
|
|
> ```
|
|
|
|
|
|
7. **Adjust owner and group (change user and group according to who's running weewx on your system):**
|
|
6. **Adjust owner and group (change user and group according to who's running weewx on your system):**
|
|
> ```
|
|
> ```
|
|
> chown -R weewx:weewx dist
|
|
> chown -R weewx:weewx dist
|
|
> ```
|
|
> ```
|
|
|
|
|
|
8. **Copy distribution files to `/etc/weewx/skins/Rabenwetter/` (change paths according to your environment:**
|
|
7. **Copy distribution files to `/etc/weewx/skins/Rabenwetter/` (change paths according to your environment:**
|
|
> ```
|
|
> ```
|
|
> cp -ar dist/* /etc/weewx/skins/Rabenwetter/
|
|
> cp -ar dist/* /etc/weewx/skins/Rabenwetter/
|
|
> ```
|
|
> ```
|
|
|
|
|
|
9. **Adjust group of the assets folder to be readable by your webserver:**
|
|
8. **Adjust group of the assets folder to be readable by your webserver:**
|
|
> ```
|
|
> ```
|
|
> chown -R weewx:www-data dist/assets/
|
|
> chown -R weewx:www-data dist/assets/
|
|
> ```
|
|
> ```
|
|
|
|
|
|
10. **Copy assets folder for your language to webroot:**
|
|
9. **Copy assets folder for your language to webroot:**
|
|
> ```
|
|
> ```
|
|
> cp -ar dist/assets /var/www/weewx/
|
|
> cp -ar dist/assets /var/www/weewx/
|
|
> ```
|
|
> ```
|
|
|
|
|
|
11. **Check `src/skin.conf` for changes and manually add them to your `/etc/weewx/skins/Rabenwetter/skin.conf`:**
|
|
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 src/skin.conf /etc/weewx/skins/Rabenwetter/skin.conf
|
|
> ```
|
|
> ```
|
|
|
|
|
|
12. **Restart weewx** |
|
11. **Restart weewx** |
|
\ No newline at end of file |
|
\ No newline at end of file |