GithubHelp home page GithubHelp logo

aleemalvi / votebox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from khalifadirgey/votebox

0.0 1.0 0.0 9.6 MB

Automatically exported from code.google.com/p/votebox

License: Other

Java 79.25% Shell 0.49% HTML 0.01% C 19.81% C++ 0.44%

votebox's Introduction

Using VoteBox:
java -jar votebox.jar [serial number]

Using Supervisor:
java -jar supervisor.jar [serial number]

Using Tap:
java -jar tap.jar [serial number] [report address] [port]

Using ChallengeWebServer:
java -jar challenge.jar [ballot file] [port] [http port]

[port] should be the same between Tap and ChallengeWebServer
[serial number]s should all be distinct (and must have corresponding keys)

---------------------
Configuration Options
---------------------
Must be placed in vb.conf, supervisor.conf, tap.conf, and webserver.conf.


DISCOVER_TIMEOUT 
Integer, milliseconds 
Default: 4000 

DISCOVER_PORT 
Integer, port number 
9782 

DISCOVER_REPLY_TIMEOUT
Integer, milliseconds 
Default: 1000 

DISCOVER_REPLY_PORT
Integer, port number 
Default: 9783 

LISTEN_PORT 
Integer, port number 
Default: 9700 

JOIN_TIMEOUT 
Integer, millisecond 
Default: 1000 

BROADCAST_ADDRESS 
String, network address 
Default: 255.255.255.255 

LOG_LOCATION 
String, file path 
Default: log.out 

KEYS_DIRECTORY 
String, directory/classloader path 
Default: "/keys/" 

VIEW_IMPLEMENTATION 
String, one of SDL, AWT 
Default: SDL 

RULE_FILE 
String, directoy path 
Default: rules 

CAST_BALLOT_ENCRYPTION_ENABLED 
Boolean 
Default: false 

USE_COMMIT_CHALLENGE_MODEL 
Boolean 
Default: false 

USE_ELO_TOUCH_SCREEN 
Boolean 
Default: false 

ELO_TOUCH_SCREEN_DEVICE 
String, path to device 
Default: null 

VIEW_RESTART_TIMEOUT 
Integer, milliseconds 
Default: 5000 

DEFAULT_SERIAL_NUMBER 
Integer 
Default: -1 (ignored) 

DEFAULT_REPORT_ADDRESS 
String, IP, Computer Name, Domain Name, etc. 
Default: "" (ignored, used exclusively by Tap) 

DEFAULT_CHALLENGE_PORT 
Integer, port number 
Default: -1 (ignored, used by Tap and ChallengeWebServer) 

DEFAULT_HTTP_PORT 
Integer, port number 
Default: 80 (used exclusively by ChallengeWebServer) 

DEFAULT_BALLOT_FILE 
String, path to file 
Default: "" (ignored, used by ChallengeWebServer)

votebox's People

Contributors

dposada avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.