Add Installation

This commit is contained in:
ztpnk
2020-08-17 14:03:58 +02:00
parent 5112afaab2
commit f3a011e155
3 changed files with 26 additions and 0 deletions

View File

@@ -9,3 +9,16 @@ This is a simple script for receiving [Gotify](https://github.com/gotify/server)
* display it via dust (notify-send)
* multiple priorities adopted from Gotify
* automatic fetch of your application Images
## Installation
1. Clone this repo
<code>git clone https://github.com/ztpnk/gotify-dunst && cd gotify-dunst</code>
2. Install python requirements
<code>./.env/bin/pip install -r requirements.txt</code>
3. Change the domain and token in main.py
4. Test if it runs
<code>./.env/bin/python main.py</code>
5. Customize the gotify-dunst.service and copy it to /etc/systemd/system
6. Start and enable the Systemd Unit
<code>sudo systemd start gotify-dunst && sudo systemd enable gotify-dunst</code>