From e536a72f06ea80555507166845394822d604137a Mon Sep 17 00:00:00 2001 From: Mateus Costa Date: Thu, 24 May 2018 23:02:05 +0200 Subject: [PATCH] [#83] improve README to edit locally --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index e6731849..7361bd6f 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,17 @@ can now click on the links below to load the exercises in the rust playground! There are infinite correct answers-- the exercises are sometimes left very open-ended. Scroll down in the playground to find comments that have hints. +### To do these exercises in your local environment and execute them online afterwards: + +* clone the repo to your local environment: `git clone git@github.com:rustlings/rustlings.git` +* edit the rustling that you want, per example `variables/variables1.rs` +* run `cargo run` in the project folder +* you will notice that you README file was modified and now it has the new content of the file that you edited +* click in the new URL in the README and you will redirect to the rust playground and the whole file content it will be loaded +* to execute in the rust playground, just click on `run` + +### Need help? + If you need more help or would like to compare solutions, you can ask in [#rust-beginners on irc.mozilla.org](https://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-beginners ), the [user forum](https://users.rust-lang.org/), or [the subreddit](https://reddit.com/r/rust). If an