Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
belenios
belenios
Commits
7b80aa6e
Commit
7b80aa6e
authored
Mar 18, 2014
by
Stephane Glondu
Browse files
Remove useless metadata generation from demo script
parent
e5a2fccf
Changes
1
Hide whitespace changes
Inline
Side-by-side
demo/demo.sh
View file @
7b80aa6e
...
...
@@ -35,11 +35,6 @@ cat *.pubkey > public_keys.jsons
# Generate election parameters
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"
cat
private_creds.txt |
while
read
cred
;
do
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment