add tag browser generation

This commit is contained in:
2023-09-17 20:18:24 +01:00
committed by Akbar Rahman
parent 29529cfd6a
commit 5bb40a57d1
6 changed files with 75 additions and 34 deletions

View File

@@ -1,6 +1,6 @@
install:
cp n2w_add_uuid.py /usr/local/bin
sed "s/N2W_COMMIT = \"\"/N2W_COMMIT = \"$$(git rev-parse --short HEAD)\"/" notes2web.py > /usr/local/bin/notes2web.py
sed "s/N2W_COMMIT = \"dev\"/N2W_COMMIT = \"$$(git rev-parse --short HEAD)\"/" notes2web.py > /usr/local/bin/notes2web.py
mkdir -p /opt/notes2web
cp -r templates js css /opt/notes2web
pip3 install -r requirements.txt