Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 2.53 KB

README.md

File metadata and controls

50 lines (34 loc) · 2.53 KB

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 load correct holochain version: nix-shell
  • 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: hc dna pack . -o elemental-chat.dna
    • Assemble the hApp: hc app pack . -o elemental-chat.happ

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.