This is an automated email from the ASF dual-hosted git repository.
adelbene pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/wicket-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new a8a0d008 Added instruction to use Docker
a8a0d008 is described below
commit a8a0d008454f4dd42e563b7b727753ebbedd58ab
Author: Andrea Del Bene <[email protected]>
AuthorDate: Tue Apr 18 12:23:02 2023 +0200
Added instruction to use Docker
---
readme.md | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/readme.md b/readme.md
index 5db5bd79..34b240f4 100644
--- a/readme.md
+++ b/readme.md
@@ -17,3 +17,20 @@ the dependencies you need (css, js, pictures, etc.) so you
don't need
any preliminary operation before running Jekyll.
If Jekyll is missing any dependency then run `bundle install`.
+
+### Using Docker (thanks Apache Arrow!)
+
+If you don't wish to change or install `ruby` and `nodejs` locally, you can
use docker to build and preview the site with a command like:
+
+```shell
+docker run -v `<repository path>`:/wicket-site -p 4000:4000 -it ruby bash
+cd wicket-site
+apt-get update
+apt-get install -y npm
+gem install bundler
+bundle install
+# Serve using local container address
+jekyll serve
+```
+
+Then open http://locahost:4000 locally