docker-github-pages icon indicating copy to clipboard operation
docker-github-pages copied to clipboard

If you're looking for a maintained alternative to this repository

Open Oliboy50 opened this issue 3 years ago • 14 comments
trafficstars

Why

I'm writing this issue just because I used this Docker image before (thank you Starefossen ❤️, you did a great job here), but now it does not work anymore for me... So I found a well maintained alternative that I wanted to share with other folks in this situation.

Requirements

A recent pages-gem Docker image must be available on your computer:

git clone [email protected]:github/pages-gem.git
cd pages-gem
make image
cd ..
rm -rf pages-gem

Go to your project directory to run your website locally

docker run -it --rm \
    -p 4000:4000 \
    -v $(pwd):/src/site \
    gh-pages jekyll serve --watch --force_polling -H 0.0.0.0 -P 4000

Oliboy50 avatar Nov 05 '22 16:11 Oliboy50