https://github.com/decred/dcrvotingweb
Demo for Decred hard fork voting.
https://github.com/decred/dcrvotingweb
Last synced: 11 months ago
JSON representation
Demo for Decred hard fork voting.
- Host: GitHub
- URL: https://github.com/decred/dcrvotingweb
- Owner: decred
- License: isc
- Created: 2017-02-08T18:16:27.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-06-19T20:37:57.000Z (almost 3 years ago)
- Last Synced: 2024-04-13T16:25:44.759Z (about 2 years ago)
- Language: CSS
- Homepage:
- Size: 3.03 MB
- Stars: 6
- Watchers: 9
- Forks: 16
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dcrvotingweb
[](https://github.com/decred/dcrvotingweb/actions)
[](http://copyfree.org)
## Overview
dcrvotingweb is a simple web app that connects to dcrd and displays
information about consensus rule voting.
## Developing
It is recommended to use Go 1.17 (or newer) for development.
To build the code:
```no-highlight
go install
```
Start dcrd with the following options:
```no-highlight
dcrd --testnet -u USER -P PASSWORD --rpclisten=127.0.0.1:19109 --rpccert=$HOME/.dcrd/rpc.cert
```
Start dcrvotingweb:
```no-highlight
dcrvotingweb
```
## Docker
Build the docker container:
```no-highlight
docker build -t decred/dcrvotingweb .
```
Run the container:
```no-highlight
docker run -it -v ~/.dcrd:/root/.dcrd -v ~/.dcrvotingweb:/root/.dcrvotingweb -p :8000 decred/dcrvotingweb
```
This example assumes you have configured `.dcrd` and `.dcrvotingweb` directories in `~` on the host machine.
Your `dcrvotingweb.conf` file will need to specificy `listen=0.0.0.0` in order for the external port mapping to work correctly.
## Contact
If you have any further questions you can join the [Decred community](https://decred.org/community/) using your preferred chat platform.
## Issue Tracker
The [integrated github issue tracker](https://github.com/decred/dcrvotingweb/issues) is used for this project.
## License
dcrvotingweb is licensed under the [copyfree](http://copyfree.org) ISC License.