The ditCraft client, simply called dit, is a decentralized git-client, empowering distributed and democratic governance for software projects.
The easiest way to use dit is to make use of the released pre-compiled binaries that are provided. Alternatively you can build the client yourself, as described here.
dit-macos-amd64
from the release pagemv dit-macos-* /usr/local/bin/dit
chmod a+x /usr/local/bin/dit
dit
in your terminaldit-linux-amd64
from the release pagemv dit-linux-* /usr/local/bin/dit
chmod a+x /usr/local/bin/dit
dit
in your terminalPlease note that the windows version hasn't been thoroughly tested, although it should work. We don't offer support for it at the moment, but will do so in the near future.
If you want to build the client yourself feel free to do so by following this guide. The only prerequisite that you need is go.
go get github.com/ditcraft/client
cd $GOPATH/src/github.com/ditclient/client
go get -d ./...
go build -o dit main.go
dit
to /usr/bin and grant execution permissions
mv dit /usr/bin/dit && chmod a+x /ust/bin/dit
Please note: If you intend to make use of the demo mode described below, you need to insert four Ethereum addresses and their corresponding private keys with funds on the Rinkeby Ethereum testnet into the code before building it. One (the main one) in config.go
(line 64/65) and three (the demo voters) in demo.go
(lines 29-38). The precompiled binaries already contain pre-funded ones, so only need to worry about this when building it yourself.
To test the dit client you can follow this guideline, showcasing you the features:
dit setup --demo
to start the setup of dit
dit clone <REPOSITORY_URL>
to pull the repository onto your machine and automatically initialize it as a dit repository ordit init
in an exisiting repository to initialize it as a dit repositorydit help
dit commit <COMMIT_MESSAGE>
dit demo_vote <PROPOSA_ID>
dit demo_open <PROPOSAL_ID>
dit commit
or dit demo_vote
dit finalize <PROPOSAL_ID>