diff --git a/README.md b/README.md index 83e3b756..038a0298 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,22 @@ If you are interested in contributing to the development of mdBook, check out th docker run -ti -v $(pwd):/mdbook -p 3000:3000 rust-lang/mdbook ``` +* Using docker-compose.yaml, you can run to load the sources from the `test-book`. + +```console +$ docker compose up --build +[+] Building 0.0s (0/0) docker-container:mac-linux-builder +[+] Running 1/1 + ✔ Container rustlang-mdbook Recreated 0.1s +Attaching to rustlang-mdbook +rustlang-mdbook | 2023-11-23 16:52:59 [INFO] (mdbook::book): Book building has started +rustlang-mdbook | 2023-11-23 16:52:59 [INFO] (mdbook::book): Running the html backend +rustlang-mdbook | 2023-11-23 16:53:00 [INFO] (mdbook::cmd::serve): Serving on: http://0.0.0.0:3000 +rustlang-mdbook | 2023-11-23 16:53:00 [INFO] (warp::server): Server::run; addr=0.0.0.0:3000 +rustlang-mdbook | 2023-11-23 16:53:00 [INFO] (warp::server): listening on http://0.0.0.0:3000 +rustlang-mdbook | 2023-11-23 16:53:00 [INFO] (mdbook::cmd::watch): Listening for changes... +``` + ## License All the code in this repository is released under the ***Mozilla Public License v2.0***, for more information take a look at the [LICENSE] file.