Giter Club home page Giter Club logo

peacefounderdemo's Introduction

PeaceFounderDemo

This is a demo of a PeaceFounder voting system intended to show capabilities, encourage experimentation and collect feedback for steering the development. This repository can also be used as a template for configuring your deme setup. If you do so:

  • You will need to choose a name and a UUID identifier for the deme.
  • A static IP address which is accessible by the members
  • Create an email account with SMTP support through which invites are sent to the users.

It is up to you to ensure data persistence in case the service needs to be restarted. In the future, that will be integrated into the PeaceFounder when the system will be sufficiently stable, and there will be a demand for using it.

To run the demo, you need to start two services. One is for the peacefounder voting system, which can be started by running:

julia --load=peacefounder_service.jl

This will open the Julia shell, which shall simulate guardian interaction with the system. Look into add_members, add_braid and add_proposal methods to try out different scenarios.

The second service provides means for new members to register with the deme. This, in general, is a situation that depends on how the authenticity of every member is validated. Here we shall use an email for authenticity with the Recruiters package.

To start the service, we first export peacefounder recruitment parameters, printed when the peacefounder_service.jl is started:

export DEME_ROUTE='http://0.0.0.0:80'
export DEME_HASHER='sha256'
export DEME_RECRUIT_KEY='f85ccda6aab7829a114ecad6ff0357a895d'

Then we can start the recruiter service as:

julia --load=recruiter_service.jl

Note that you must edit the recruiter_service.jl and enter credentials for an email account with SMTP support for the members to receive invites to their email addresses.

Demo

IMAGE ALT TEXT HERE

peacefounderdemo's People

Contributors

janiserdmanis avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.