By default, weectl will create the data in your home directory at ~/weewx-data, but you can place it anywhere you want (provided, of course, that you have write privileges).
Whether someone else can write to it depends on OS privileges, just like any other directory or file. You can run weewx out of a git repository, which is what I typically do. However, what you probably do not want to do is place site-specific state in the repository. such as the database or weewx.conf,. You'll want to run "weectl station create" to place those someplace else. For V5, it would look something like: pip install CT3 pyusb pyserial configobj mysqldb pillow cd ~/git git clone https://github.com/weewx/weewx.git cd weewx/bin python3 -m weectl station create ... weectl prompts for station information... python3 -m weewxd On Wed, Jan 4, 2023 at 6:52 AM G Hammer <gary.ham...@gmail.com> wrote: > I do like the idea of a git install. pihole and netdata do this. netdata > is a fairly involved install from their side of it. For the user, as long > as you have curl installed, you just copy/paste one line and wait. > > As an aside, let's say that you just don't want things in your home > directory that aren't, well, your data. > If you created a user, say weewx, logged in as weewx and ran the install, > will any user be able to run/edit/add to that install? > > > On Friday, December 30, 2022 at 9:08:01 PM UTC-5 Tom Keffer wrote: > >> I'm seeing that style of documentation everywhere now. For example, the pip >> User Guide <https://pip.pypa.io/en/stable/user_guide/> does something >> similar. I wonder what tool produces it? >> >> I do like using git to distribute and update. More and more tools seem to >> be going that direction, too. >> >> In any case, those are larger projects with staff that are probably >> getting paid. I'm just one senior citizen, with a life, plugging away... >> >> -tk >> >> On Fri, Dec 30, 2022 at 5:22 PM Vince Skahan <vince...@gmail.com> wrote: >> >>> Hundreds of newbies seem to be ok with the pihole approach... >>> >>> - https://docs.pi-hole.net/main/basic-install/ <= one-step >>> automated install >>> - https://docs.pi-hole.net/main/post-install/ <= what to tweak >>> - https://docs.pi-hole.net/main/update/ <= how to update >>> - https://docs.pi-hole.net/main/uninstall/ <= how to uninstall >>> >>> (and their docs are soooooo nice looking now too....) >>> >>> For weewx a similar bash script approach could handle os detection >>> (apt/yum) and installing a webserver (optionally?) and hooking that in. >>> Just go with nginx there since it's light+fast and relatively simple. >>> >>> Personally I love the "pihole -up" to upgrade to current. You can't >>> get much simpler than that. Maybe a future "wee_ctl" feature (?) >>> >>> Folks who want to install the long (ten line) way can of course go >>> appropriately wild. Just as pihole does, continue to give'em the >>> instructions or they can install the pre-packaged variant for their os. >>> >>> Re: docs - it would be interesting to see how pihole's are so blasted >>> good looking..... >>> >>> -- >>> 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 weewx-developm...@googlegroups.com. >>> >> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-development/9b6757d9-7baf-429a-ba97-84835066abebn%40googlegroups.com >>> <https://groups.google.com/d/msgid/weewx-development/9b6757d9-7baf-429a-ba97-84835066abebn%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > 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 weewx-development+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-development/01b3b157-10d9-42cb-9a77-637837e216b8n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-development/01b3b157-10d9-42cb-9a77-637837e216b8n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 weewx-development+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/CAPq0zEDT34HMu1EfrQcnpymdH-JcMPGPDaTEkwU5sE5BH%2Bg4PQ%40mail.gmail.com.