mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-23 04:29:41 +00:00
Merge branch 'master' of https://github.com/sunface/rust-by-practice
This commit is contained in:
17
Readme.md
17
Readme.md
@ -26,9 +26,24 @@ This book was designed for easily diving into and get skilled with Rust, and it'
|
||||
## Running locally
|
||||
|
||||
We use [mdbook](https://rust-lang.github.io/mdBook/) building our exercises. You can run locally with below steps:
|
||||
|
||||
- Clone the repo
|
||||
```shell
|
||||
$ git clone git@github.com:sunface/rust-by-practice.git
|
||||
```
|
||||
- Install mdbook using Cargo
|
||||
```shell
|
||||
$ cargo install mdbook
|
||||
$ cd rust-by-practice && mdbook serve
|
||||
```
|
||||
|
||||
- For Book in English
|
||||
```shell
|
||||
$ cd rust-by-practice && mdbook serve en/
|
||||
```
|
||||
|
||||
- For Book in Chinese
|
||||
```shell
|
||||
$ cd rust-by-practice && mdbook serve zh-CN/
|
||||
```
|
||||
|
||||
## Features
|
||||
|
Reference in New Issue
Block a user