Revert "Revert "Initial commit""

This reverts commit 3ea984c2ef.
This commit is contained in:
akp 2024-08-26 01:08:35 +01:00
parent 3ea984c2ef
commit daa788ba79
8 changed files with 1240 additions and 0 deletions

13
bundle.sh Normal file
View file

@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -ex
DATAFILE=$1
DIR=$(mktemp -p . -d)
poetry run python3 postprocessor/ $DATAFILE $DIR/index.html
cp $DATAFILE $DIR/rawdata.json
zip --junk-paths bundle.zip $DIR/*
rm -r $DIR