ddanielr commented on code in PR #384: URL: https://github.com/apache/accumulo-website/pull/384#discussion_r1178153859
########## README.md: ########## @@ -108,6 +108,50 @@ HTML styled "just right". Jekyll will print a local URL where the site can be viewed (usually, [http://0.0.0.0:4000/](http://0.0.0.0:4000/)). +### Testing using Docker environment + +#### Build environment +A containerized development environment can be built using the local +Dockerfile. + +Run the build-images.sh script to generate the development environment and +associated images. + +```bash +docker build -t webdev . +``` + +This action will produce a `webdev` container which will execute a +`jekyll serve` command with the polling option enabled. + +The webdev container does not store any site content inside of it. +For rendering to function, the local directory must be mounted inside +the container in a read/write configuration. + +This mounting is accomplished with the volume `-v` flag in the +following `docker run` command. Review Comment: I assumed this comment was replacing lines 127-132. So that has now been modified. -- 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]
