put versions and commits on landing page

This commit is contained in:
2023-02-06 14:39:10 +00:00
parent 32a32b873e
commit df8febd3cf
3 changed files with 18 additions and 2 deletions

View File

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