{"id":24196539,"url":"https://github.com/dedis/d-voting","last_synced_at":"2025-09-21T21:31:53.628Z","repository":{"id":37013091,"uuid":"375673257","full_name":"dedis/d-voting","owner":"dedis","description":"📧 E-Voting platform based on the Dela blockchain","archived":false,"fork":false,"pushed_at":"2024-12-10T13:12:33.000Z","size":14795,"stargazers_count":18,"open_issues_count":75,"forks_count":7,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-12-10T14:27:16.390Z","etag":null,"topics":["blockchain","e-voting"],"latest_commit_sha":null,"homepage":"https://dedis.github.io/d-voting","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dedis.png","metadata":{"files":{"readme":"README.docker.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-10T11:26:01.000Z","updated_at":"2024-04-30T11:09:25.000Z","dependencies_parsed_at":"2024-06-19T01:44:24.298Z","dependency_job_id":"efc0210a-86f9-463f-a768-de168936f5b1","html_url":"https://github.com/dedis/d-voting","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedis%2Fd-voting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedis%2Fd-voting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedis%2Fd-voting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dedis%2Fd-voting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dedis","download_url":"https://codeload.github.com/dedis/d-voting/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233798274,"owners_count":18731952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","e-voting"],"created_at":"2025-01-13T19:35:46.471Z","updated_at":"2025-09-21T21:31:53.621Z","avatar_url":"https://github.com/dedis.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# D-Voting/DELA setup w/ Docker Compose\n\n## Overview\n\nThe files related to the Docker environment can be found in\n\n* `docker-compose/` (Docker Compose files)\n* `Dockerfiles/` (Dockerfiles)\n* `scripts/` (helper scripts)\n\n### Setup\n\nIt is recommended to use the `run_docker.sh` helper script for setting up and\ntearing down the environment as it handles all the necessary intermediary steps\nto have a working D-Voting application.\n\nThis script needs to be executed at the project's root.\n\nTo set up the environment:\n\n```\n./scripts/run_docker.sh\n```\n\nThis will run the subcommands:\n\n- `setup` which will build the images and start the containers\n- `init_dela` which will initialize the DELA network\n- `local_admin` which will add local admin accounts for testing and debugging\n- `local_login` which will set a local cookie that allows for interacting w/ the API via command-line\n- `add_proxies` which will set up the DELA node proxies\n\nEach of these subcommands can also be run by invoking the script w/ the subcommand:\n\n```\n./scripts/run_docker.sh \u003csubcommand\u003e\n```\n\n/!\\ The `init_dela` subcommand must only be run exactly **once**.\n\nTo tear down the environment:\n\n```\n./scripts/run_docker.sh teardown\n```\n\nThis will:\n\n- remove the local cookie\n- stop and remove the containers and their attached volumes\n- remove the images\n\n/!\\ This command is meant to reset your environment. If you want to stop one or more\ncontainers, use the appropriate `docker compose` commands (see below for using the correct `docker-compose.yml`).\n\n### Docker environment\n\nThere are two Docker Compose file you may use:\n\n* `docker-compose/docker-compose.yml` (recommended, default in `.env.example` and `run_docker.sh`), or\n* `docker-compose/docker-compose.debug.yml`, which contains some additional debugging tools\n\nTo run `docker compose` commands w/ the right `docker-compose.yml`, you need to either run\n\n```\nexport COMPOSE_FILE=\u003cpath to Docker Compose file\u003e\n```\n\nor\n\n```\nsource .env\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdedis%2Fd-voting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdedis%2Fd-voting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdedis%2Fd-voting/lists"}