Commit 7b80aa6e authored by Stephane Glondu's avatar Stephane Glondu
Browse files

Remove useless metadata generation from demo script

parent e5a2fccf
...@@ -35,11 +35,6 @@ cat *.pubkey > public_keys.jsons ...@@ -35,11 +35,6 @@ cat *.pubkey > public_keys.jsons
# Generate election parameters # Generate election parameters
belenios-tool mkelection --uuid $UUID --group $BELENIOS/demo/groups/default.json --template $BELENIOS/demo/templates/election.json belenios-tool mkelection --uuid $UUID --group $BELENIOS/demo/groups/default.json --template $BELENIOS/demo/templates/election.json
# Generate election metadata
BDATE="$(date -u +'%F %T.000')"
EDATE="$(date -u -d tomorrow +'%F %T.000')"
printf '{"voting_starts_at":"%s","voting_ends_at":"%s"}\n' "$BDATE" "$EDATE" > metadata.json
header "Simulate votes" header "Simulate votes"
cat private_creds.txt | while read cred; do cat private_creds.txt | while read cred; do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment