rustwasm / book

The Rust and WebAssembly Book
https://rustwasm.github.io/docs/book/
MIT License
1.75k stars 211 forks source link

List prerequisites for game-of-life tutorial. #93

Closed pchickey closed 6 years ago

pchickey commented 6 years ago

Summary

I hadn't heard of cargo-generate before this tutorial so this tripped me up as I went through it. I added a section at the start of the tutorial to indicate that rustup, wasm-pack, and cargo-generate all need to be installed before starting.

fitzgen commented 6 years ago

These prerequisites are all listed in the "setup" chapter, which is the very first chapter of the tutorial: https://rustwasm.github.io/book/game-of-life/setup.html

I don't really want to duplicate this info and have to maintain two copies. Do you think it would be useful to instead add a blurb about "make sure you installed the prequisites listed in the setup chapter before continuing" to the top of this chapter?

pchickey commented 6 years ago

oh! I'm sorry, I never even saw that chapter as I went through this tutorial. Yes, I think it would be useful to have that as a single sentence at the top of the tutorial, rather than duplicate the information. I'll change this PR to do that instead.

fitzgen commented 6 years ago

Cool, let me know when you've updated the PR :)

pchickey commented 6 years ago

I have replaced the previous commit with a new one