weewx flexible installer script for Debian(ish) systems

92 views
Skip to first unread message

Vince Skahan

unread,
Aug 30, 2019, 6:59:40 PM8/30/19
to weewx-development
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 

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.


PJO

unread,
Oct 30, 2019, 4:04:00 AM10/30/19
to weewx-development
Nice.

I recently lost an SDcard in a Pi2 that had been running for 4 years. I had clones of it but v dated and backups of data and skin mods. Still took me a while to get things back to the status quo ante so I've been thinking about scripting it. Thanks.
Reply all
Reply to author
Forward
0 new messages