You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
hguthrie edited this page Apr 16, 2021
·
3 revisions
Docker provides a quick and easy way to build and preview the documentation. You do not need to install Ruby dependencies manually. This Docker solution launches Jekyll inside the container in watch mode.
Every change of a markdown file automatically triggers a rebuild of the documentation.
Install Docker. If you have Docker installed, launch the Docker application.
Clone the DevDocs repository.
Change to the devdocs directory.
Build and start the Docker environment.
docker-compose up
Use the server address URL provided by the system response.
For example:
jekyll_1 | Server address: https://127.0.0.1:4000/
jekyll_1 | Server running... press ctrl-c to stop.
Press Ctrl+C in the serve terminal to stop the server.
Access the container
To access the container command line:
While the server is running, open a new terminal and change to the devdocs directory.
Find and copy your container ID.
docker ps
Access the container's /srv/jekyll # shell in interactive mode using your container ID.