kou commented on code in PR #251: URL: https://github.com/apache/arrow-site/pull/251#discussion_r988383644
########## README.md: ########## @@ -111,3 +111,22 @@ rsync -r doc/ ../../arrow-site/asf-site/docs/js ``` Then add/commit/push from the `asf-site/` git checkout. + + +## Using docker + +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 `pwd`:/arrow-site -p 4000:4000 -it ruby bash +cd arrow-site +apt-get update +apt-get install -y npm +gem install bundler +bundle install +bundle exec rake +# Serve using local container address +jekyll serve --incremental --livereload --host=0.0.0.0 +``` + +The open http://locahost:4000 locally Review Comment: ```suggestion Then open http://locahost:4000 locally ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
