From 58ca0998e08edaf9632b77fdb847e77b046407d3 Mon Sep 17 00:00:00 2001 From: Ampli-fier <22896574+Ampli-fier@users.noreply.github.com> Date: Mon, 10 Jun 2019 21:44:20 +0200 Subject: [PATCH] Info about Rust and Cargo + some minor changes --- README.md | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1f9fe54c5..db684fe51 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,17 @@ Current commit on deltachat/deltachat-core: `12ef73c8e76185f9b78e844ea673025f56a959ab`. +## Installing Rust and Cargo + +To download and install the official compiler for the Rust programming language, and the Cargo package manager, run the command in your user environment: + +``` +curl https://sh.rustup.rs -sSf | sh +``` + ## Using the CLI client -Run using `cargo`: +Compile and run Delta Chat Core using `cargo`: ``` cargo run --example repl -- /path/to/db @@ -23,7 +31,11 @@ Delta Chat Core is awaiting your commands. > configure ``` -If you're already configured it's enough to `> connect`. +Connect to your mail server (if already configured): + +``` +> connect +``` Create a contact: @@ -51,7 +63,13 @@ Single#10: yourfriends@email.org [yourfriends@email.org] Message sent. ``` -For more commands type `> help`. +List messages when inside a chat: + +``` +> chat +``` + +For more commands type: ``` > help