Skip to content

votingworks/cacvote

Folders and files

NameName
Last commit message
Last commit date
Mar 7, 2024
Feb 27, 2024
Jul 6, 2021
Apr 22, 2024
Apr 22, 2024
Mar 15, 2024
Jan 9, 2024
Apr 22, 2024
Mar 5, 2024
Apr 3, 2024
Feb 12, 2024
Feb 27, 2024
Mar 20, 2023
Aug 2, 2023
Aug 10, 2023
Oct 19, 2021
Apr 22, 2024
Apr 22, 2024
Feb 27, 2024
Mar 5, 2024
Feb 27, 2024
Feb 27, 2024
Mar 4, 2022
May 19, 2023
Mar 5, 2024
Feb 27, 2024
Mar 11, 2024
Feb 27, 2024
Aug 4, 2023
Dec 16, 2022
Mar 27, 2024

Repository files navigation

CACVote

Setup

  1. Set up a Debian 11 machine (Debian 12 or Ubuntu may work).
  2. Clone this repo, cd to it.
  3. Run the setup script: script/cacvote-setup.
  4. Install monorepo dependencies:
    • pnpm install
    • cargo build

Structure

  • apps/cacvote-mark: the CACVote Mark voter-facing application
  • apps/cacvote-jx: the CACVote Jurisdiction application for election management
  • services/cacvote-server: the CACVote server providing sync services for the apps

Development

The easiest way to run the services in development is with mprocs at the repository root.

Tip: stop and restart the services in mprocs with x and r respectively.

Release

Each app/service can be built and run individually. Try make run in each app/service directory. You'll need to specify the configuration either via environment variables (e.g. DATABASE_URL) or command-line flags.

Logging

Logging for everything but cacvote-mark is configured with the LOG_LEVEL environment variable or --log-level CLI option. For example:

LOG_LEVEL=debug mprocs

License

GPLv3