Belchertown skin : two installations, one for production and one for testing

88 views
Skip to first unread message

Jean-Marie Schneider

unread,
Jan 27, 2025, 6:36:54 AM1/27/25
to weewx-user
Hello,

I have my installation which is running with the default setup and I would like to test modification I made. But instead to did these modifications on the skin which is working I would like to have a sand box.

For this purpose I try to duplicate the the skin in weewx.conf by dupplicating Belchertown as : 

     [[Belchertown2]]
        skin = Belchertown2
        HTML_ROOT = /var/www/html/weewx/belchertown2
        enable = true

        [[[Extras]]]


I copy the Belchertown files in a new repertory : /etc/weewx/skins/Belchertown2

Web pages are created : /etc/weewx/skins/Belchertown2

but when I point my browser to this page, I have the page of the initial version : I made modification on graphs.conf in Belchertown and Belchertown2 :

    [[chart1]]
        title = Temperature11
        [[[outTemp]]]


and 

    [[chart1]]
        title = Temperature22
        [[[outTemp]]]

But both adresse : http://192.168.1.10/belchertown/ and http://192.168.1.10/belchertown2/ have the same title : Temperature11.

I try to find answer on this subject, but without success. 

Could you give the tips which will allow this duplication ?

Thanks you for your help.
Jean-Marie

Tom Keffer

unread,
Jan 27, 2025, 10:47:22 AM1/27/25
to weewx...@googlegroups.com
If you are using 

HTML_ROOT = /var/www/html/weewx/belchertown2


-tk

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/7d14c192-de3e-43e1-b779-e640531f3138n%40googlegroups.com.

Jean-Marie Schneider

unread,
Jan 27, 2025, 11:26:58 AM1/27/25
to weewx-user
Thanks you Tom.

In fact Apache root directory is  HTML_ROOT = /var/www/html/weewx. So with  http://192.168.1.10/belchertown  I am opening the site correctly.  
Reply all
Reply to author
Forward
0 new messages