Point 5 refers to running weewx as a daemon.
Apart from point 5, can you confirm that the points from number 1 to number 
4 are fine?

Il giorno martedì 16 gennaio 2024 alle 14:38:12 UTC+1 Tom Keffer ha scritto:

> On Tue, Jan 16, 2024 at 5:19 AM Francesco Fasano <fvirg...@gmail.com> 
> wrote:
>
>> Thanks Tom,
>> for the answer to tell the truth I'm carrying out tests on a virtual 
>> machine with Raspberry operating system with virtual box it could probably 
>> be as you say that there is some unusual hardware.
>> I have a Raspberry Model 3 B+ and I performed my first installation with 
>> setup.py. Over time I updated Python to 3.9 and always updated Weewx.
>> the weewx installation in my case is located in /home
>> so if I didn't misunderstand I should do the following steps
>> 1 - sudo apt update
>> sudo apt install python3-pip -y
>> sudo apt install python3-venv -y
>> (do I have to do them from the home folder?)
>
>
> No, these are system installs, so they can be done anywhere.
>
> 2 - # Create the virtual environment
>> python3 -m venv ~/weewx-venv
>> # Activate the WeeWX virtual environment
>> source ~/weewx-venv/bin/activate
>> # Install WeeWX into the virtual environment
>> python3 -m pip install weewx
>>
>> 3 - weewxd --config=/home/weewx/weewx.conf
>>
>> 4 - # systems with systemd
>> # This will run weekx as you, not root. If you prefer to run as
>> # the root user, modify the weewx.service file.
>> sudo cp /home/weewx/util/systemd/weewx.service /etc/systemd/system
>> sudo systemctl daemon-reload
>> sudo systemctl enable weewx
>> sudo systemctl start weewx
>>
>> 5 - How do I start weewx version 5 when starting raspberry? with this? 
>> sudo sh ~/weewx-data/scripts/setup-daemon.sh
>>
>
> I'm not sure what instructions you are following there, but the service 
> file /etc/systemd/system/weewx.service will cause weewx to start when the 
> system starts.
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/27cd8773-394f-4225-97c5-72146cc18d6bn%40googlegroups.com.

Reply via email to