Skip to content

Commit 32a88c3

Browse files
author
liv
authored
Merge pull request #84 from mrcosta/master
[#83] improve README to edit locally
2 parents 4d2aa87 + e536a72 commit 32a88c3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,17 @@ can now click on the links below to load the exercises in the rust playground!
1919
There are infinite correct answers-- the exercises are sometimes left very open-ended. Scroll down
2020
in the playground to find comments that have hints.
2121

22+
### To do these exercises in your local environment and execute them online afterwards:
23+
24+
* clone the repo to your local environment: `git clone git@github.com:rustlings/rustlings.git`
25+
* edit the rustling that you want, per example `variables/variables1.rs`
26+
* run `cargo run` in the project folder
27+
* you will notice that you README file was modified and now it has the new content of the file that you edited
28+
* 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
29+
* to execute in the rust playground, just click on `run`
30+
31+
### Need help?
32+
2233
If you need more help or would like to compare solutions, you can ask in [#rust-beginners on
2334
irc.mozilla.org](https://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-beginners ), the
2435
[user forum](https://users.rust-lang.org/), or [the subreddit](https://reddit.com/r/rust). If an

0 commit comments

Comments
 (0)