docker-github-pages
docker-github-pages copied to clipboard
If you're looking for a maintained alternative to this repository
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