aboutsummaryrefslogtreecommitdiff
path: root/shard/README.md
blob: 7abb1ce1ab09258b0167eab43db38045242ee83b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Shard

Tests of peer-to-peer stuff. Right now it's a little chat application with replication of message history over peers. Nothing is secure, contrary to the name of the project.

## Installation

Download and install [Elixir](https://elixir-lang.org/).

```
mix deps.get
mix compile
mix run --no-halt
```

P2P port is 4044 by default, can be changed by setting the `$PORT` environment variable. HTTP interface is on port `$PORT`+1000.