... | ... | @@ -17,34 +17,29 @@ curl -s https://rabenwetter.de/install.sh |sh -s -- /etc/weewx en |
|
|
> git clone https://gitlab.ambhost.net/stimpy/template_rabenwetter.git
|
|
|
> ````
|
|
|
|
|
|
2. **Delete unneeded files:**
|
|
|
> ```
|
|
|
> rm dist/*.own.html.tmpl
|
|
|
> ```
|
|
|
|
|
|
3. **Localize template:**
|
|
|
2. **Localize template:**
|
|
|
> ```
|
|
|
> cp -r dist/i18n/en/* dist/
|
|
|
> ```
|
|
|
> *Available languages:* `ls dist/i18n/`
|
|
|
|
|
|
4. **Delete remaining l10n files:**
|
|
|
3. **Delete remaining l10n files:**
|
|
|
> ```
|
|
|
> rm -r dist/i18n
|
|
|
> ```
|
|
|
|
|
|
5. **Adjust owner and group (change user and group according to who's running weewx on your system):**
|
|
|
4. **Adjust owner and group (change user and group according to who's running weewx on your system):**
|
|
|
> ```
|
|
|
> chown -R weewx:weewx dist
|
|
|
> ```
|
|
|
|
|
|
7. **Copy `dist/` to a new folder inside your weewx `skins/` directory.**
|
|
|
5. **Copy `dist/` to a new folder inside your weewx `skins/` directory.**
|
|
|
> **Example:**
|
|
|
> ```
|
|
|
> cp -r template_rabenwetter/dist /etc/weewx/skins/Rabenwetter
|
|
|
> ```
|
|
|
|
|
|
8. **Apply supplied patch.**
|
|
|
6. **Apply supplied patch.**
|
|
|
> **Example:**
|
|
|
> ```
|
|
|
> patch -p1 /usr/share/weewx/weewx/cheetahgenerator.py template_rabenwetter/cheetahgenerator.patch
|
... | ... | @@ -59,4 +54,4 @@ curl -s https://rabenwetter.de/install.sh |sh -s -- /etc/weewx en |
|
|
> of weewx, so it will be included with future releases of weeWX, rendering
|
|
|
> this step useless in the future. I'll update this readme accordingly.
|
|
|
|
|
|
9. **Continue with the [configuration](configuration)** |
|
|
\ No newline at end of file |
|
|
7. **Continue with the [configuration](configuration)** |
|
|
\ No newline at end of file |