Closed nickebbitt closed 3 years ago
I prefer not to install/manage Ruby versions and their dependencies on my Mac and keep them safely contained in a Docker container.
If you have Docker installed on you machines then with a simple docker-compose.yaml file in the project
docker-compose.yaml
version: '3' services: jekyll: image: bretfisher/jekyll-serve volumes: - .:/site ports: - '4000:4000'
You can spin up the site locally with
docker-compose up
Without needing to install Ruby and manage it.
Note: there are various Docker images that help you do this, I picked bretfisher/jekyll-serve at random from a quick Google search but if open to this I can review and choose a good candidate image to provide this feature.
bretfisher/jekyll-serve
+1 on this proposal.
Great idea Nick! 😃 Definitely, it is a great improvement to have. Thank you for your PR! 👍 Already merged!
I prefer not to install/manage Ruby versions and their dependencies on my Mac and keep them safely contained in a Docker container.
If you have Docker installed on you machines then with a simple
docker-compose.yaml
file in the projectYou can spin up the site locally with
Without needing to install Ruby and manage it.
Note: there are various Docker images that help you do this, I picked
bretfisher/jekyll-serve
at random from a quick Google search but if open to this I can review and choose a good candidate image to provide this feature.