gronk/Makefile

12 lines
420 B
Makefile
Raw Normal View History

2021-04-30 20:55:13 +00:00
install:
2023-09-17 19:47:05 +00:00
cp gronk_add_uuid.py /usr/local/bin
sed "s/GRONK_COMMIT = \"dev\"/GRONK_COMMIT = \"$$(git rev-parse --short HEAD)\"/" gronk.py > /usr/local/bin/gronk.py
2024-01-02 03:48:20 +00:00
chmod +x /usr/local/bin/gronk.py
chmod +x /usr/local/bin/gronk_add_uuid.py
2023-09-17 19:47:05 +00:00
mkdir -p /opt/gronk
cp -r templates js css /opt/gronk
2024-01-02 18:22:15 +00:00
pip3 install -r requirements.txt
2021-04-30 20:55:13 +00:00
2021-04-30 21:01:08 +00:00
uninstall:
2023-09-17 19:47:05 +00:00
rm -rf /usr/local/bin/gronk.py /usr/local/bin/gronk_add_uuid.py /opt/gronk