Skip to content

Conversation

@hjeljeli32
Copy link
Contributor

This PR updates the README.md in the demo folder to clarify setup steps for the Leios voting demo.

Summary of changes

  • Added explicit instructions to return to the demo/ directory after building the CLI
  • Fixed CLI registration path to correctly reference crypto-benchmarks.rs/target/release/leios_crypto_benchmarks
  • Added Flask dependency for running the UI server
  • Improved organization of sections: End-to-End Demo first, then manual script execution

Purpose

To ensure any developer can reproduce the Leios voting demo end-to-end without missing dependencies or incorrect paths.

Reviewers

@ch1bo

@hjeljeli32 hjeljeli32 requested a review from ch1bo October 30, 2025 02:52
@hjeljeli32 hjeljeli32 self-assigned this Oct 30, 2025
@hjeljeli32 hjeljeli32 mentioned this pull request Oct 30, 2025
## Run a Single End-to-End Demo

Build the registry from initialized inputs:
From the `demo/` directory, run the combined script to generate a complete demo for a specified number of voters and pools. Ensure `.env_cli` exists in this directory:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would have preferred to not require .env_cli existing, but see it as an option. IIRC the scripts to expect .env_cli to exist. Using the CLI environment variable instead and use it right away without going through .env_cli would be better to integrate with other (e.g. nix) dependency management workflows.

Copy link
Member

@ch1bo ch1bo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better instructions than before

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants