Commit 559f3e6e authored by Philipp's avatar Philipp

Fixed and expanded update process in README.md

parent 9acedf26
......@@ -45,35 +45,6 @@ change it to `"Rabenwetter"`
> `[[StandardReport]]`
> ` skin = Rabenwetter`
## Updates
You can always find the latest version of this
[at my gitlab](https://gitlab.ambhost.net/stimpy/template_rabenwetter).
I'm frequently working on this and you're strongy encouraged to update your copy once in a while...
You can either use `git pull` to update your existing clone of the project or download as
[zip file](https://gitlab.ambhost.net/stimpy/template_rabenwetter/-/archive/master/template_rabenwetter-master.zip)
Either way, continue by:
1. Deleting the skin.conf file from distribution files:
> `rm dist.*/skin.conf`
2. Adjusting owner and group (change user and group according to who's running weewx on your system):
> `chown -R weewx:weewx dist.*`
3. Copying distribution files for your language to `/etc/weewx/skins/Rabenwetter/` (change paths according to your environment:
> `cp -ar dist.en/* /etc/weewx/skins/Rabenwetter/`
4. Adjusting group of the assets folder to be readable by your webserver (adjust...):
> `chown -R weewx:www-data dist.*/assets/
5. Manualy copying assets folder for your language to webroot (adjust...):
> `cp -ar dist.en/assets /var/www/weewx/
6. Checking `src/skin.conf` for changes and manually adding them to your `/etc/weewx/skins/Rabenwetter/skin.conf`
* **Webcam(s) (optional)**
This skin can make use of up to two webcams. If you don't have of want them,
simply delete or comment the corresponding configuration parameters from the
......@@ -103,6 +74,36 @@ If you don't want these extra images, simply comment [Line 67-75](https://gitlab
> **NOT:**
> ` extracam1_img = #'https://www.rabenwetter.de/photocam/rabenberg-hires.jpg'`
## Updates
You can always find the latest version of this
[at my gitlab](https://gitlab.ambhost.net/stimpy/template_rabenwetter).
I'm frequently working on this and you're strongy encouraged to update your copy once in a while...
You can either use `git pull` to update your existing clone of the project or download as
[zip file](https://gitlab.ambhost.net/stimpy/template_rabenwetter/-/archive/master/template_rabenwetter-master.zip)
Either way, continue by:
1. Deleting the skin.conf file from distribution files:
> `rm dist.*/skin.conf`
2. Adjusting owner and group (change user and group according to who's running weewx on your system):
> `chown -R weewx:weewx dist.*`
3. Copying distribution files for your language to `/etc/weewx/skins/Rabenwetter/` (change paths according to your environment:
> `cp -ar dist.en/* /etc/weewx/skins/Rabenwetter/`
4. Adjusting group of the assets folder to be readable by your webserver (adjust...):
> `chown -R weewx:www-data dist.*/assets/
5. Manualy copying assets folder for your language to webroot (adjust...):
> `cp -ar dist.en/assets /var/www/weewx/
6. Checking `src/skin.conf` for changes and manually adding them to your `/etc/weewx/skins/Rabenwetter/skin.conf`:
> `diff -aur src/skin.conf /etc/weewx/skins/Rabenwetter/skin.conf`
## Archive
If you're switching from another template, you probably already have a lot of
data from the past, you don't want to lose when switching templates.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment