From 2581b5645854e365348ea7708d4fae34dc9138e8 Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Tue, 13 Apr 2021 10:56:13 +1000 Subject: [PATCH] Update readme to point developers to right forums --- README.md | 18 +++++++++++++++--- package.json | 2 +- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4ed2eff933..a2d0eecd30 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ A JavaScript implementation of the [Waku v2 protocol](https://specs.vac.dev/spec ## Waku Protocol Support +You can track progress on the [project board](https://github.com/status-im/js-waku/projects/1). + - ✔: Supported - 🚧: Implementation in progress - ⛔: Support is not planned @@ -24,9 +26,11 @@ A JavaScript implementation of the [Waku v2 protocol](https://specs.vac.dev/spec |[17/WAKU2-RLNRELAY](https://rfc.vac.dev/spec/17)|| |[18/WAKU2-SWAP](https://rfc.vac.dev/spec/18)|| -## This is a Work In Progress +## Bugs, Questions & Features -You can track progress on the [project board](https://github.com/status-im/js-waku/projects/1). +If you encounter any bug or would like to propose new features, feel free to [open an issue](https://github.com/status-im/js-waku/issues/new/). + +For support, questions & more general topics, please join the discussion on the [Vac forum](https://forum.vac.dev/tag/js-waku) (use _\#js-waku_ tag). ## Examples @@ -37,8 +41,9 @@ It is interoperable with the [nim-waku chat app example](https://github.com/stat To run the chat app: ```shell +git clone https://github.com/status-im/js-waku/ ; cd js-waku npm install -npm run chat:app -- --staticNode /ip4/134.209.139.210/tcp/30303/p2p/16Uiu2HAmPLe7Mzm8TsYUubgCAW1aJoeFScxrLj8ppHFivPo97bUZ +npm run chat -- --staticNode /ip4/134.209.139.210/tcp/30303/p2p/16Uiu2HAmPLe7Mzm8TsYUubgCAW1aJoeFScxrLj8ppHFivPo97bUZ ``` You can also specify an optional `listenAddr` parameter (.e.g `--listenAddr /ip4/0.0.0.0/tcp/55123`). @@ -47,6 +52,8 @@ it is not necessary in normal usage when you just connect to the fleet. ## Contributing +### Build & Test + To build and test this repository, you need: - [Node.js & npm](https://nodejs.org/en/) @@ -59,3 +66,8 @@ At this stage, it is not possible to exclude nim-waku tests, hence `git submodul To build nim-waku, you also need [Rust](https://www.rust-lang.org/tools/install). +### Guidelines + +- Please follow [Chris Beam's commit message guide](https://chris.beams.io/posts/git-commit/), +- Usually best to test new code, +- [CI](https://github.com/status-im/js-waku/blob/main/.github/workflows/ci.yml) must pass. diff --git a/package.json b/package.json index 20f2bf2a6c..98555bcf61 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "pretest": "run-s pretest:*", "pretest:1-init-git-submodules": "[ -f './nim-waku/build/wakunode2' ] || git submodule update --init --recursive", "pretest:2-build-nim-waku": "cd nim-waku; [ -f './build/wakunode2' ] || make -j$(nproc --all 2>/dev/null || echo 2) wakunode2", - "chat:start": "ts-node src/chat/index.ts", + "chat": "ts-node src/chat/index.ts", "test": "run-s build test:*", "test:lint": "eslint src --ext .ts", "test:prettier": "prettier \"src/**/*.ts\" --list-different",