mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
|
|
With how modern linux handles python security, you'll need to create a virtual python environment to run commstatone.
|
||
|
|
|
||
|
|
Hopefully, I'll figure out how to automate this in the script in the near future. Until then, here are your steps.
|
||
|
|
|
||
|
|
Enter your commstat directory that was created from the setup-script or personally cloning the git repo:
|
||
|
|
cd ~/Radio/commstatone
|
||
|
|
|
||
|
|
Create the virtual environment:
|
||
|
|
python3 -m venv venv
|
||
|
|
|
||
|
|
Activate the virtual environment:
|
||
|
|
source venv/bin/activate
|
||
|
|
|
||
|
|
Install some dependencies:
|
||
|
|
pip3 install pyqt5
|
||
|
|
pip3 install pyqtwebengine
|
||
|
|
pip3 install psutil
|
||
|
|
|
||
|
|
Run the Commstat installer:
|
||
|
|
chmod +x linuxinstall.sh
|
||
|
|
./linuxinstall.sh
|
||
|
|
|
||
|
|
You'll need to point Commstat to your JS8Call Directed.txt file. Normally that will be the following directory:
|
||
|
|
/home/*YOUR_USER_NAME*/.local/share/JS8Call/
|
||
|
|
|
||
|
|
Subsequent times you want to launch Commsat you'll do the following:
|
||
|
|
cd ~/Radio/commstatone
|
||
|
|
source venv/bin/activate
|
||
|
|
python3 commstat.py
|
||
|
|
|
||
|
|
I'll be adding a desktop launcher shortly so you won't have to mess with the terminal outside of the initial install at least.
|
||
|
|
|
||
|
|
|
||
|
|
|