remindme_caldav/Makefile

21 lines
719 B
Makefile
Raw Normal View History

install:
sudo apt-get update && sudo apt install python3-venv -y
python3 -m venv /opt/remindme_caldav/.venv
cp remindme_caldav.py alert_processor.py /opt/remindme_caldav/
. /opt/remindme_caldav/.venv/bin/activate && pip3 install -r requirements.txt
2024-02-15 15:39:55 +00:00
sudo cp remindme_caldav.service /etc/systemd/system/
sudo mkdir /etc/remindme_caldav
sudo cp config.toml /etc/remindme_caldav/config.toml
2024-02-15 15:39:55 +00:00
sudo systemctl daemon-reload
sudo systemctl enable remindme_caldav.service
sudo systemctl start remindme_caldav.service
uninstall:
2024-02-15 15:39:55 +00:00
sudo systemctl stop remindme_caldav.service
sudo systemctl disable remindme_caldav.service
rm -rf /opt/remindme_caldav
rm /etc/systemd/system/remindme_caldav.service
clean:
2024-02-15 15:39:55 +00:00
deactivate