mhuesch / elemental-chat

A chat DNA for Holochain RSM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

elemental-chat

Project Forum Chat

Twitter Follow License: License: CAL 1.0

A fairly basic chat app. Includes channels, and exercises various holochain features including signals.

Running the Tests

Prerequisites

  • Build the Holochain tools
    • Clone the repo: git clone https://github.com/holochain/holochain && cd ./holochain
    • Activate the needed rust environment and holochain installation scripts nix: nix-shell
    • Install the holochain and dna-util binaries: hc-install
  • Build the elemental-chat DNA (assumes you are still in the nix shell for correct rust/cargo versions from step above):
    • Clone this repo: git clone https://github.com/holochain/elemental-chat && cd ./elemental-chat
    • Build the wasm: CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown
    • Assemble the DNA: dna-util -c elemental-chat.dna.workdir

Running

cd elemental-chat/tests
npm install
npm test

npm test will also run the build and assemble commands for you.

Contribute

Holochain is an open source project. We welcome all sorts of participation and are actively working on increasing surface area to accept it. Please see our contributing guidelines for our general practices and protocols on participating in the community, as well as specific expectations around things like code formatting, testing practices, continuous integration, etc.

  • Connect with us on our forum

License

License: CAL 1.0

Copyright (C) 2019 - 2020, Holochain Foundation

This program is free software: you can redistribute it and/or modify it under the terms of the license provided in the LICENSE file (CAL-1.0). This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

About

A chat DNA for Holochain RSM

License:Other


Languages

Language:TypeScript 62.5%Language:Rust 35.0%Language:Makefile 2.6%