fixes
This commit is contained in:
parent
f7f22e2607
commit
779762c3dd
@ -140,7 +140,6 @@ StandardError=journal
|
|||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
systemctl daemon-reload
|
|
||||||
systemctl enable -q --now go2rtc
|
systemctl enable -q --now go2rtc
|
||||||
msg_ok "go2rtc service enabled"
|
msg_ok "go2rtc service enabled"
|
||||||
|
|
||||||
@ -163,7 +162,6 @@ StandardError=journal
|
|||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
systemctl daemon-reload
|
|
||||||
systemctl enable -q --now frigate
|
systemctl enable -q --now frigate
|
||||||
msg_ok "Frigate service enabled"
|
msg_ok "Frigate service enabled"
|
||||||
|
|
||||||
|
@ -17,7 +17,6 @@ PYTHON_VERSION="3.12" setup_uv
|
|||||||
|
|
||||||
msg_info "Installing Dependencies"
|
msg_info "Installing Dependencies"
|
||||||
$STD apt-get install -y \
|
$STD apt-get install -y \
|
||||||
python3 python3-pip python3-venv \
|
|
||||||
python3-opencv jq \
|
python3-opencv jq \
|
||||||
libgl1-mesa-glx libglib2.0-0 \
|
libgl1-mesa-glx libglib2.0-0 \
|
||||||
libgstreamer1.0-0 libgstreamer-plugins-base1.0-0 \
|
libgstreamer1.0-0 libgstreamer-plugins-base1.0-0 \
|
||||||
@ -36,28 +35,17 @@ msg_ok "Installed Dependencies"
|
|||||||
# msg_ok "Hardware Acceleration Configured"
|
# msg_ok "Hardware Acceleration Configured"
|
||||||
|
|
||||||
PYTHON_VERSION="3.12" setup_uv
|
PYTHON_VERSION="3.12" setup_uv
|
||||||
|
|
||||||
fetch_and_deploy_gh_release "viseron" "roflcoopter/viseron" "tarball" "latest" "/opt/viseron"
|
fetch_and_deploy_gh_release "viseron" "roflcoopter/viseron" "tarball" "latest" "/opt/viseron"
|
||||||
|
|
||||||
msg_info "Setting up Python Environment"
|
msg_info "Setting up Python Environment"
|
||||||
uv venv --python "python3.12" /opt/viseron
|
uv venv --python "python3.12" /opt/viseron/.venv
|
||||||
uv pip install --python /opt/viseron/bin/python --upgrade pip setuptools wheel
|
uv pip install --python /opt/viseron/.venv/bin/python --upgrade pip setuptools wheel
|
||||||
msg_ok "Python Environment Setup"
|
msg_ok "Python Environment Setup"
|
||||||
|
|
||||||
msg_info "Installing Viseron"
|
msg_info "Setup Viseron (Patience)"
|
||||||
uv pip install --python /opt/viseron/bin/python -e .
|
UV_HTTP_TIMEOUT=600 uv pip install --python /opt/viseron/.venv/bin/python -e /opt/viseron/.
|
||||||
uv pip install --python /opt/viseron/bin/python -r requirements.txt
|
UV_HTTP_TIMEOUT=600 uv pip install --python /opt/viseron/.venv/bin/python -r /opt/viseron/requirements.txt
|
||||||
msg_ok "Installed Viseron $RELEASE"
|
msg_ok "Setup Viseron"
|
||||||
|
|
||||||
# fetch_and_deploy_gh_release "viseron" "roflcoopter/viseron" "tarball" "latest" "/opt/viseron"
|
|
||||||
|
|
||||||
# msg_info "Setting up Viseron (Patience)"
|
|
||||||
# cd /opt/viseron
|
|
||||||
# uv venv .venv
|
|
||||||
# $STD uv pip install --upgrade pip setuptools wheel
|
|
||||||
# $STD uv pip install -r requirements.txt --python /opt/viseron/.venv/bin/python
|
|
||||||
# ln -s /opt/viseron/.venv/bin/viseron /usr/local/bin/viseron
|
|
||||||
# msg_ok "Setup Viseron"
|
|
||||||
|
|
||||||
msg_info "Creating Configuration Directory"
|
msg_info "Creating Configuration Directory"
|
||||||
mkdir -p /config
|
mkdir -p /config
|
||||||
|
Loading…
x
Reference in New Issue
Block a user