Maybe best is to illustrate my setup with the Linux commands to create it (in reality I didi it somehow different because differen hosts are involved):
WEEWX_ROOT=~/weewx-debug
mkdir $WEEWX_ROOT
cd $WEEWX_ROOT
(cd /; tar zcvf - usr/share/weewx)|tar zxvf -
(cd /; tar zcvf - etc/weewx)|tar zxvf -
mkdir -p var/www/html/weewx
mkdir -p var/lib/weewx
cp /var/lib/weewx/*.sdb var/lib/weewx
Within etc/weewx/weewx.conf I modified
WEEWX_ROOT = /home/MyHome/weewx-debug
...
SQLITE_ROOT = /home/MyHome/weewx-debug/var/lib/weewx
I enabled debug = 1
I did NOT change SKIN_ROOT and HTML_ROOT since the (maybe outdated) comments from weewx.conf say
# Where the skins reside, relative to WEEWX_ROOT
SKIN_ROOT = /etc/weewx/skins
# Where the generated reports should go, relative to WEEWX_ROOT
HTML_ROOT = /var/www/html/weewx
Maybe simply those comments are misleading? For my debugging I simply created symbolic links for skins and www. Probabely I should have changed SKIN_ROOT and HTML_ROOT instead? Just tested it right now - and YES it worked. Thus only the comments are wrong. Setting
SKIN_ROOT = /home/MyHome/weewx-debug/etc/weewx/skins
HTML_ROOT = /home/MyHome/weewx-debug/var/www/html/weewx
works fine without additional symbolic links!
From my perspective this is better as compared to the (hidden) use of WEEWX_ROOT. Thus maybe one only should correct the misleading comments within default weewx.conf?
Regards, Michael