From 4ae2646871b531f0d9e4ef0174b2362a1b819e1c Mon Sep 17 00:00:00 2001 From: tykayn <tykayn@gmail.com> Date: Mon, 6 Apr 2020 17:06:03 +0200 Subject: [PATCH] [feat] :book: doc to setup rust cargo, and rearrange yarn install --- doc/quick-start.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/doc/quick-start.md b/doc/quick-start.md index 0465553fb..e2501f57a 100644 --- a/doc/quick-start.md +++ b/doc/quick-start.md @@ -7,7 +7,19 @@ - [yarn](https://classic.yarnpkg.com/en/docs/install/) - [python 2.7](https://www.python.org/downloads/) (Linux? -> you allready have it) - [gcc](https://github.com/nodejs/node-gyp#installation) + +```bash +# install node gyp fo compile C/C++ dependencies (sqlite and leveldb) +npm i -g node-gyp +``` + - [rust](https://www.rust-lang.org/learn/get-started) + +```bash +# install cargo for rust +curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh +``` + - [Gitlab](https://git.duniter.org/) account (optional, needed to contribute) ## Install @@ -15,8 +27,9 @@ ```bash git clone https://git.duniter.org/nodes/typescript/duniter.git cd duniter -yarn +rustup update yarn add duniter-ui +yarn bin/duniter webstart ``` -- GitLab