Files
cta-archive/README.md
T
2026-07-18 14:51:18 +08:00

11 lines
542 B
Markdown

# Simple tool for archiving CTA data to flat files
## Installation
Clone this archive, build and run the image. Pass in your API_KEY and map the output directory to your folder.
```
git clone https://https://gitea.iosull.com/iosullivan/cta-archive
cd cta-archive
docker build -t cta-archive .
docker run cta-archive --name cta-archive -d -e API_KEY=<APIKey> -v <outputdir>/usr/cta-archive/output/
```
By default, the script runs every 5 minutes to write json file to the <outputdir> above. This can be modified by updating the cronjob file.