Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

xdavidwu/evoting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

evoting

Build

Container-based builds

Build in containers, to containers.

Requirements:

  • make
  • docker or podman
make containers

This will build three containers, {evotingctl,evoting-server,evoting-client}.

To use podman instead of docker:

make containers DOCKER=podman

Native builds

Requirements:

  • make
  • go
  • protoc
  • google/protobuf/timestamp.proto
    • On Alpine Linux, this is in protobuf-dev package
  • gRPC/ Protobuf Go tools
    • protoc-gen-go, protoc-gen-go-grpc in PATH
    • To install: go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28 && go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2
    • Make sure GOPATH is in PATH
make all

This will produce {evotingctl,evoting-server,evoting-client} binaries.

Run

The programs store their stats under $XDG_DATA_DIR.

When running the containerized versions, be sure to mount a volume at /root/.local.

About

Yet another homework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published