remindme_caldav/Makefile
Sam 8fe759673d Update Makefile, README and service file for remindme_caldav
- The Makefile now includes installation instructions for Debian/Ubuntu based systems.
- The README has been updated with more detailed descriptions of the script's purpose, how it works, and how to use it.
- The service file has been added to manage the remindme_caldav daemon on a systemd-based system.
2024-02-15 15:21:37 +00:00

18 lines
706 B
Makefile

install:
sudo apt-get update && sudo apt-get install -y python3.11 python3.11-venv
python3.11 -m venv /opt/remindme_caldav/.venv
source /opt/remindme_caldav/.venv/bin/activate && pip install --upgrade pip && pip install -r requirements.txt
cp remindme_caldav.py /opt/remindme_caldav/
sudo cp remindme_caldav.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable remindme_caldav.service
sudo systemctl start remindme_caldav.service
uninstall:
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:
deactivate