Skip to content

Commit

Permalink
rename "rave" to "cacvote"
Browse files Browse the repository at this point in the history
  • Loading branch information
eventualbuddha committed Feb 27, 2024
1 parent 45558d2 commit 88b6e2f
Show file tree
Hide file tree
Showing 442 changed files with 693 additions and 667 deletions.
179 changes: 97 additions & 82 deletions .circleci/config.yml

Large diffs are not rendered by default.

266 changes: 133 additions & 133 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ resolver = "2"
members = [
"apps/mark-scan/accessible-controller",
"apps/mark-scan/pat-device-input",
"apps/rave-jx-terminal/backend",
"apps/rave-jx-terminal/frontend",
"apps/rave-scan/backend",
"apps/rave-scan/frontend",
"apps/cacvote-jx-terminal/backend",
"apps/cacvote-jx-terminal/frontend",
"apps/cacvote-scan/backend",
"apps/cacvote-scan/frontend",
"libs/auth-rs",
"libs/ballot-encoder-rs",
"libs/central-scanner",
"libs/logging",
"libs/types-rs",
"libs/ui-rs",
"services/rave-server",
"services/cacvote-server",
]

[workspace.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: ./services/rave-server/target/release/rave-server
web: ./services/cacvote-server/target/release/cacvote-server
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
# RAVE
# 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/rave-setup`.
3. Run the setup script: `script/cacvote-setup`.
4. Install monorepo dependencies:
- `pnpm install`
- `cargo build`

## Structure

- `apps/rave-mark`: the RAVE Mark voter-facing application
- `apps/rave-scan`: the RAVE Scan application for ballot scanning
- `apps/rave-jx`: the RAVE Jurisdiction application for election management
- `services/rave-server`: the RAVE server providing sync services for the apps
- `apps/cacvote-mark`: the CACVote Mark voter-facing application
- `apps/cacvote-scan`: the CACVote Scan application for ballot scanning
- `apps/cacvote-jx`: the CACVote Jurisdiction application for election
management
- `services/cacvote-server`: the CACVote server providing sync services for the
apps

## Development

Expand All @@ -31,7 +33,7 @@ environment variables (e.g. `DATABASE_URL`) or command-line flags.

## Logging

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

```sh
Expand Down
4 changes: 2 additions & 2 deletions RustConfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# build-time settings for `rave-server` in Heroku
BUILD_PATH=services/rave-server
# build-time settings for `cacvote-server` in Heroku
BUILD_PATH=services/cacvote-server

# tell sqlx to use offline mode, i.e. don't check against the database
# and instead use the query metadata checked into the repository
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
APP := rave-jx-terminal
APP := cacvote-jx-terminal

ALL: build

Expand Down
4 changes: 4 additions & 0 deletions apps/cacvote-jx-terminal/backend/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
DATABASE_URL=postgres:cacvote_jx
PORT=5001
CACVOTE_URL=http://localhost:8000/
VX_MACHINE_ID=cacvote-jx-dev
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "rave-jx-terminal-backend"
name = "cacvote-jx-terminal-backend"
version = "0.1.0"
edition = "2021"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"name": "@votingworks/rave-jx-terminal-backend",
"name": "@votingworks/cacvote-jx-terminal-backend",
"version": "1.0.0",
"description": "VotingWorks RAVE Jurisdiction Terminal",
"description": "VotingWorks CACVote Jurisdiction Terminal",
"keywords": [],
"license": "GPL-3.0",
"author": "VotingWorks Eng <[email protected]>",
"scripts": {
"build": "script/build",
"lint": "script/lint",
Expand All @@ -10,9 +13,6 @@
"test:dev": "cargo test",
"test": "is-ci test:ci test:dev"
},
"keywords": [],
"author": "VotingWorks Eng <[email protected]>",
"license": "GPL-3.0",
"devDependencies": {
"is-ci-cli": "2.2.0"
},
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 88b6e2f

Please sign in to comment.