summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliv <olivia@fastmail.com>2018-07-31 11:27:40 +0200
committerGitHub <noreply@github.com>2018-07-31 11:27:40 +0200
commit32a88c36db1f4703a8fd5cd4f0e47a983bd805ba (patch)
tree007d380c6f26747f491d884d48888e3e06d1ef65
parent4d2aa87aa3e149a56eae4e5c7e210ba093c3e44c (diff)
parente536a72f06ea80555507166845394822d604137a (diff)
Merge pull request #84 from mrcosta/master
[#83] improve README to edit locally
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index bbe0010..56ae8e8 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