- Set up a Debian 11 machine (Debian 12 or Ubuntu may work).
- Clone this repo,
cd
to it. - Run the setup script:
script/cacvote-setup
. - Install monorepo dependencies:
pnpm install
cargo build
apps/cacvote-mark
: the CACVote Mark voter-facing applicationapps/cacvote-jx
: the CACVote Jurisdiction application for election managementservices/cacvote-server
: the CACVote server providing sync services for the apps
The easiest way to run the services in development is with mprocs
at the
repository root.
Tip: stop and restart the services in
mprocs
withx
andr
respectively.
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 for everything but cacvote-mark
is configured with the LOG_LEVEL
environment variable or --log-level
CLI option. For example:
LOG_LEVEL=debug mprocs
GPLv3