Skip to content

Commit

Permalink
Preparation for public release
Browse files Browse the repository at this point in the history
  • Loading branch information
RedRem95 committed Mar 25, 2024
1 parent 560e11b commit 51139d6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@ COPY clickup_to_ical/ /app/clickup_to_ical/
WORKDIR /app
RUN pip install .

ENV AUTH_FILE="/auth.json"
ENV DEFAULT_LENGTH="/def_len.json"

ENTRYPOINT ["/bin/sh", "-c"]
CMD ["Clickup_To_iCal"]
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pip install git+https://github.com/RedRem95/clickup_to_ical.git

#### Docker
``` bash
docker run -p 8080:8080 -e CLICKUP_API_KEY=YOUR_TOKEN_HERE -v /path/to/auth.json:/auth.json -v /path/to/default_event_length.json:/def_len.json clickup_to_ical
docker run -d -p 8080:8080 -e CLICKUP_API_KEY=YOUR_TOKEN_HERE -v /path/to/auth.json:/auth.json -v /path/to/default_event_length.json:/def_len.json clickup_to_ical
```

## Executing program
Expand All @@ -29,6 +29,9 @@ docker run -p 8080:8080 -e CLICKUP_API_KEY=YOUR_TOKEN_HERE -v /path/to/auth.json
``` bash
Clickup_Explore # Run this inside the python environment with the installed package
```
``` bash
docker run --rm -e CLICKUP_API_KEY=YOUR_TOKEN_HERE clickup_to_ical Clickup_Explore
```
* Put the relevant user ids inside an auth.json file
``` json
{
Expand All @@ -48,6 +51,9 @@ Clickup_Explore # Run this inside the python environment with the installed pack
``` bash
Clickup_To_iCal # Run this inside the python environment with the installed package
```
``` bash
docker run -d -p 8080:8080 -e CLICKUP_API_KEY=YOUR_TOKEN_HERE -v /path/to/auth.json:/auth.json -v /path/to/default_event_length.json:/def_len.json clickup_to_ical
```

## Web-API

Expand Down

0 comments on commit 51139d6

Please sign in to comment.