23 lines
685 B
Markdown
23 lines
685 B
Markdown
|
# Contribute
|
||
|
|
||
|
Follow these steps to contribute to this book! <br>
|
||
|
We use a utility tool called mdBook to create online books from Markdown files.
|
||
|
|
||
|
## Before You Start
|
||
|
|
||
|
1. Install mdBook from [here](https://github.com/rust-lang/mdBook).
|
||
|
2. Clone the repository by `git clone https://github.com/status-im/nim-beacon-chain.git`.
|
||
|
3. Go to where the Markdown files are located by `cd docs`.
|
||
|
|
||
|
## Real-Time Update and Preview Changes
|
||
|
|
||
|
1. Run `mdbook serve` in the terminal.
|
||
|
2. Preview the book at [http://localhost:3000](http://localhost:3000).
|
||
|
|
||
|
## Build and Deploy
|
||
|
|
||
|
1. `mdbook build`
|
||
|
2. `make publish-book`
|
||
|
|
||
|
Thank you so much for your help to the decentralized and open source community. :)
|