Before you push your blog to the source branch, it should be tested. Testing means:
It's definitely not enough if it looks good on github, or in your markdown editor.
To locally test a new blog entry, follow these steps:
source/_posts/2014-08-31-my-new-blog.markdown./blog-test.sh
Options:
-d --dirty don't stash uncommitted changed
It will:
COPY the workdir to a new blog-test Docker image, at /tmp/blogRUN rake generate inside the containerIn case your port 8080 is already occupied, you can change it:
export BLOG_PORT=9876
./blog-test.sh
The blog server is started as a backround container. To clean up:
docker rm -f blog-test && docker rmi blog-test-image
Content type
Image
Digest
sha256:c35908dd7…
Size
266.8 MB
Last updated
almost 11 years ago
docker pull sequenceiq/blog