WIP
This commit is contained in:
parent
018fda8b15
commit
0d2c671747
@ -6,4 +6,7 @@ COPY main.py requirements.txt /
|
||||
|
||||
USER user
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
# TODO unbuffer python
|
||||
|
||||
CMD python3 main.py
|
19
README.md
19
README.md
@ -4,3 +4,22 @@ Parses the Events of the [hsmr] - the hackspace in Marburg, Germany and pushes t
|
||||
|
||||
Be aware that as for now the script **nukes and replaces without confirmation** the complete target calendar, so you might want to use a separate one for the hsmr events.
|
||||
|
||||
# invocation
|
||||
|
||||
## cli
|
||||
|
||||
```bash
|
||||
CALDAV_URL='https://radicale.example.com/user/997701c7-0fa5-c123-27b3-12376f07eae4/' CALDAV_USERNAME=username CALDAV_PASSWORD='sup3rs3cr3t' python3 main.py
|
||||
```
|
||||
|
||||
## docker
|
||||
|
||||
```bash
|
||||
docker build -t hsmr-events2caldav .
|
||||
[...]
|
||||
docker run --rm \
|
||||
-e CALDAV_URL='https://radicale.example.com/user/997701c7-0fa5-c123-27b3-12376f07eae4/' \
|
||||
-e CALDAV_USERNAME=username \
|
||||
-e CALDAV_PASSWORD='sup3rs3cr3t' \
|
||||
hsmr-events2caldav:latest
|
||||
```
|
||||
|
@ -1,3 +1,4 @@
|
||||
beautifulsoup4
|
||||
caldav
|
||||
icalendar
|
||||
requests
|
||||
|
Loading…
Reference in New Issue
Block a user