Skip to content

Commit

Permalink
add back instructions to install Node.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hahayupgit committed May 15, 2024
1 parent 78a49cc commit fc34054
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ Documentation for Whisky.
cd whisky-book
```
3. Install [rust](https://www.rust-lang.org/tools/install)
4. Install mdbook and the required preprocessors
4. Install [Node.js](https://nodejs.org/en/download/).
You can also install it through [Homebrew](https://brew.sh/) with `brew install node`.
5. Install mdbook and the required preprocessors
```
cargo install mdbook mdbook-alerts mdbook-template mdbook-last-changed
```
> Alternatively, you can run `./scripts/run-locally.sh -i`, which installs the preprocessors and opens the wiki on a local webpage.
5. Run `./scripts/run-locally.sh` to open the wiki on a local webpage. This script MUST be ran from the root `whisky-book` directory or it will not work.
6. Run `./scripts/run-locally.sh` to open the wiki on a local webpage. This script MUST be ran from the root `whisky-book` directory or it will not work.
> Alternatively, you can run `mdbook serve --open`.
### Adding Game Pages:
Expand Down

0 comments on commit fc34054

Please sign in to comment.