Giter Site home page Giter Site logo

w3f-grants-archive / governance-os Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nucleistudio/governance-os

0.0 1.0 0.0 69.38 MB

License: Apache License 2.0

Rust 82.53% Shell 0.05% Dockerfile 0.12% JavaScript 16.96% HTML 0.30% CSS 0.02%

governance-os's Introduction

Governance OS

The Governance OS is a set of pallets that can be used to allow the users of a Parity Substrate runtime to create fully customizable, decentralized, autonomous organizations.

Browse the Documentation

web3 foundation_grants_badge_black

For Developers

Rust Setup

If you do not have Rust installed simply install it via curl https://sh.rustup.rs -sSf | sh.

Our repo contains a rust-toolchain file so that cargo automatically selects the right version of rust to build the project without any issues. However, you still need to setup your toolchain to support Web Assembly builds, to do so, simply run the helper script:

./scripts/init.sh

Dependencies

Depending on your system, you may have to install a few packages and libraries for everything to work fine.

In case of any issues you may find the Substrate Informations useful.

For Mac (with brew)

brew update
brew install openssl cmake

For Debian / Ubuntu based systems

sudo apt update
sudo apt install -y cmake pkg-config libssl-dev git build-essential clang libclang-dev curl

For Arch Linux

pacman -Syu --needed --noconfirm cmake gcc openssl-1.0 pkgconf git clang
export OPENSSL_LIB_DIR="/usr/lib/openssl-1.0"
export OPENSSL_INCLUDE_DIR="/usr/include/openssl-1.0"

Testing

You can easily run our unit testing suite via the following command:

cargo test --all

Documenting

You can easily generate and open our code documentation via the following command:

cargo doc --open

Alternatively, you can access it online.

Building

The easiest way to build the project is via the following command:

cargo build -p governance-os-node

Running

You can run a freshly build development (and ephemeral) node via:

cargo run -- --dev --tmp

You should be able to interact with it via the Polkadot JS Interface. You may need to register some custom developer types though, to do so, head over to "Settings", then "Developer" and copy paste the content of the types.json file. Finally, click save and reload the page.

governance-os's People

Contributors

eteissonniere avatar

Watchers

 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.