I thought I'd post a link to a pretty flexible installer script for weewx 
(Simulator mode) that I cooked up.
By simply uncommenting the right line(s) you can:

   - install the latest dpkg'd version
   - or install from the main git repo, optionally picking even a different 
   branch there
   - or the latest tgz released
   - or the latest development_versions tgz
   - also supports setting debug on or not
   - and optionally install pyephem, either via pip or dpkg as desired
   - and of course picking python2 or python3 as desired

I've tested it pretty well on a pi4 running Rasbian current (ie, Debian 
10.0) so it's good enough to release I think.

Github link is 

https://github.com/vinceskahan/weewx-install-script


The comments at the top of the file are probably good enough documentation, 
but let me know via email if you have questions.

Again, this installs the Simulator, but it could easily be appended to in 
order to build up a A-Z installer for your site.

   -  stop weewx
   -  remove the simulator database
   -  do the normal steps to switch driver versions etc.
   -  start weewx

But this does the heavy lifting for you.  Takes just a few seconds on a pi4 
if you have the prerequisite/corequisite dpkg's installed, but it will 
install them if needed too.

Enjoy.


-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/88de53de-1693-49e6-8fa8-84e30f382032%40googlegroups.com.

Reply via email to