Installing WROLPi help environment for RPi and Debian.

This commit is contained in:
Roland 2023-11-22 11:02:30 -07:00
parent a491ea7677
commit 57262442bd
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
6 changed files with 28 additions and 9 deletions

View file

@ -38,6 +38,12 @@ if [[ ! -f /opt/wrolpi-blobs/gis-map.dump.gz || ! -s /opt/wrolpi-blobs/gis-map.d
wget https://wrolpi.nyc3.cdn.digitaloceanspaces.com/gis-map.dump.gz -O /opt/wrolpi-blobs/gis-map.dump.gz
fi
# Install WROLPi Help.
git clone https://github.com/wrolpi/wrolpi-help.git /opt/wrolpi-help || :
(cd /opt/wrolpi-help && git fetch && git checkout master && git reset --hard origin/master)
python3 -m venv /opt/wrolpi-help/venv
/opt/wrolpi-help/venv/bin/pip3 install -r /opt/wrolpi-help/requirements.txt
# Repair will install configs and restart services.
/opt/wrolpi/repair.sh

View file

@ -38,6 +38,12 @@ if [[ ! -f /opt/wrolpi-blobs/gis-map.dump.gz || ! -s /opt/wrolpi-blobs/gis-map.d
wget https://wrolpi.nyc3.cdn.digitaloceanspaces.com/gis-map.dump.gz -O /opt/wrolpi-blobs/gis-map.dump.gz
fi
# Install WROLPi Help.
git clone https://github.com/wrolpi/wrolpi-help.git /opt/wrolpi-help || :
(cd /opt/wrolpi-help && git fetch && git checkout master && git reset --hard origin/master)
python3 -m venv /opt/wrolpi-help/venv
/opt/wrolpi-help/venv/bin/pip3 install -r /opt/wrolpi-help/requirements.txt
# Repair will install configs and restart services.
/opt/wrolpi/repair.sh