aboutsummaryrefslogtreecommitdiff
path: root/shard/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'shard/README.md')
-rw-r--r--shard/README.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/shard/README.md b/shard/README.md
new file mode 100644
index 0000000..7abb1ce
--- /dev/null
+++ b/shard/README.md
@@ -0,0 +1,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.
+