Running an mdbook Server on Raspberry PiEdit

Installation stepsEdit

After installing Rust, use Cargo to install mdbook:

cargo install mdbook

Running the mdbook serverEdit

Create a new bookEdit

Navigate to the directory where you want to create your book:

cd ~

Create a new mdbook projectEdit

mdbook init socksdox

Build and serve the bookEdit

Change to your book's directory:

cd socksdox/
mdbook build && mdbook serve

By default, the server runs on http://localhost:3000. You can access it from a web browser on your Raspberry Pi or any device on the same network

Edit contentsEdit

nano chapter_1.md
nano chapter_2.md
nano SUMMARY.md