dumps form field input into a CSV and optionally to a Microsoft Forms spreadsheet
You need Leiningen and Java/OpenJDK installed.
lein ring server
Note that data is written to ./data.csv
.
There is an image on Docker Hub labelled hueyy/formdump
.
docker run -p 8000:8000 hueyy/formdump
You can set the timezone in the container with the TZ
environment variable, e.g. TZ=Europe/London
.
docker build -t formdump .
docker run formdump
If you're using a volume you probably want to set the OUTPUT_FILE
environment variable to a path within your volume, e.g. /data/data.csv
.
lein uberjar
java -jar target/uberjar/formdump-0.0.1-standalone.jar