mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 02:48:38 -04:00
Replacing Tag names with escaped tag names to avoid errors in Tags Directory.
This commit is contained in:
parent
4ab99b908e
commit
218fb3e760
11 changed files with 78 additions and 175 deletions
|
|
@ -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)"
|
||||
|
|
|
|||
|
|
@ -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/
|
||||
|
|
|
|||
|
|
@ -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)"
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue