Is there an easy way to test custom mods to index.html.tmpl?

83 views
Skip to first unread message

WindnFog

unread,
Feb 7, 2021, 10:51:28 AM2/7/21
to weewx-user
Assuming one is not a stellar Python programmer, like me, is there a way to test Python mods made to a custom version of index.html.tmpl other than wee_peports?

I always get it eventually, but often it takes some iterations.  I want to make a copy of index.html.tmpl with a temporary name and force it through Cheetah and weewx without having it blow up and not update my website, etc.

If there is, I can fix errors and warnings while the "production" version continues to do its thing.

- Paul VE1DX

p q

unread,
Feb 7, 2021, 11:34:20 AM2/7/21
to weewx...@googlegroups.com
Yeah. Create a virtual machine and install weewx and your skin with the Simulator driver. Test all you want without disrupting your real station. You can do it on AWS for cheap or on your own hardware for free.

--
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 on the web visit https://groups.google.com/d/msgid/weewx-user/79a4024d-6c5e-451d-b9e5-37c8bebf8699n%40googlegroups.com.


--
Peter Quinn
(415)794-2264

Paul Dunphy

unread,
Feb 7, 2021, 11:51:16 AM2/7/21
to weewx...@googlegroups.com
    Thanks!  That I can do, but never thought of it.  Better than trial and error on a production system.

- Paul VE1DX
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/khhBYKNvECY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAA1SM22mtVvO6MJkuuFxAH%3D7%2Bw8e19j3d-rNz7VQuYfrQtXE0w%40mail.gmail.com.

Timothy L

unread,
Feb 9, 2021, 10:31:05 PM2/9/21
to weewx...@googlegroups.com
Peter, which type of amazon AWS do you recommend for hosting your own weewx site? 

p q

unread,
Feb 9, 2021, 11:06:26 PM2/9/21
to weewx...@googlegroups.com
I don't know. I haven't used AWS for a while. Last time I did, there was a micro instance that you could get for pennies a year. 

I use Oracle Virtualbox on my local PC for VMs to try out stuff on Weewx. It's free.



--
Peter Quinn
(415)794-2264

Tom Keffer

unread,
Feb 10, 2021, 9:05:03 AM2/10/21
to weewx-user
It's not "pennies a year", but I use AWS Lightsail for both my private website, and for weewx.com

Bills have been running about $13/month for two processors, each with 1GB. They offer a $3.50/month processor with 512MB.

Timothy L

unread,
Feb 10, 2021, 10:05:58 AM2/10/21
to weewx...@googlegroups.com
Thank you for the information. Lightsail would be best option for me.

Reply all
Reply to author
Forward
0 new messages