Replacing Tag names with escaped tag names to avoid errors in Tags Directory.

This commit is contained in:
Roland 2024-07-31 15:01:31 -06:00
parent 4ab99b908e
commit 218fb3e760
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
11 changed files with 78 additions and 175 deletions

View file

@ -22,7 +22,7 @@ npm install || npm install || npm install || npm install # try install multiple
# Install python requirements in background job.
python3 -m venv /opt/wrolpi/venv
/opt/wrolpi/venv/bin/pip3 install -r /opt/wrolpi/requirements.txt
/opt/wrolpi/venv/bin/pip3 install --upgrade -r /opt/wrolpi/requirements.txt
# Create the WROLPi user
grep wrolpi: /etc/passwd || useradd -md /home/wrolpi wrolpi -s "$(command -v bash)"

View file

@ -14,9 +14,9 @@ git clone https://github.com/wrolpi/wrolpi-help.git /opt/wrolpi-help || :
git config --global --add safe.directory /opt/wrolpi-help
(cd /opt/wrolpi-help && git fetch && git checkout master && git reset --hard origin/master)
python3 -m venv /opt/wrolpi-help/venv
# Force re-install of mkdocs.
# Force re-install of mkdocs
/opt/wrolpi-help/venv/bin/pip3 uninstall -y mkdocs
/opt/wrolpi-help/venv/bin/pip3 install -r /opt/wrolpi-help/requirements.txt
/opt/wrolpi-help/venv/bin/pip3 install --upgrade -r /opt/wrolpi-help/requirements.txt
# Install the systemd service.
cp /opt/wrolpi/etc/raspberrypios/wrolpi-help.service /etc/systemd/system/

View file

@ -22,7 +22,7 @@ npm install || npm install || npm install || npm install # try install multiple
# Install python requirements in background job.
python3 -m venv /opt/wrolpi/venv
/opt/wrolpi/venv/bin/pip3 install -r /opt/wrolpi/requirements.txt
/opt/wrolpi/venv/bin/pip3 install --upgrade -r /opt/wrolpi/requirements.txt
# Create the WROLPi user
grep wrolpi: /etc/passwd || useradd -md /home/wrolpi wrolpi -s "$(command -v bash)"

View file

@ -9,7 +9,7 @@ cd /opt/wrolpi/app || exit 1
npm install || npm install || npm install || npm install # try install multiple times :(
# Install any new Python requirements.
/opt/wrolpi/venv/bin/pip3 install -r /opt/wrolpi/requirements.txt
/opt/wrolpi/venv/bin/pip3 install --upgrade -r /opt/wrolpi/requirements.txt
# Upgrade the WROLPi database.
(cd /opt/wrolpi && /opt/wrolpi/venv/bin/python3 /opt/wrolpi/main.py db upgrade)