On Friday, January 4, 2019 at 11:24:15 AM UTC-8, [email protected] wrote:
>
>
> Would you be willing to share the ansible playbook you developed for this?
>
>
>
Can't lay my hands on a ansible variant I'd be willing to inflict on others 
but https://github.com/vinceskahan/weewx-vagrant has a bunch of scripts 
that can handle different os and systemd-or-init.d, as well as packages vs. 
tarballs+setup.py installation mechanisms.  Pick your poison.

That repo would get you to a simulator with weewx running.   For a real 
system you'd reconfigure weewx to pick your station type and 
serial/usb/etc. interface.

Last step I do is to run a script that installs all my extensions and skins 
(see https://github.com/vinceskahan/weewx-local-rebuild for details).   I 
didn't fully automate this last step end-to-end because I need to edit in 
usernames/passwords etc. and didn't want to risk them making it into github 
by user error by me.   Look at the bottom of the .sh file for what I 
hand-edit in. The whole thing is maybe a 5-minute process start-to-finish 
so I didn't go for 100% automated.

If you use the dpkg variant, then Matthew's instructions at 
http://www.weewx.com/docs/debian.htm are about as good as you're going to 
get.  A 4-step procedure is pretty slick.    You'd have to edit in your 
user/pass etc. as well of course.

Bottom line - for me I'd rather have this stuff in github as a procedure 
rather than spending time to 'ever' back the SD card up.  That's boring :-)

oh yes, one more thing - I 'do' back up my database to dropbox every week 
just in case a disk crash ever happens.  The VP2 will fill in any blanks 
from the datalogger while weewx was down.

Feel free to email if I lost you anywhere...

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to