Public | Automated Build

Last pushed: 14 days ago
Short Description
Docker image for updates
Full Description

Sources for

Adding a new blog

Add a new blog a the end of planet/planetsympy/config. Send a PR against this
repository. Travis tests must pass: Travis will build a docker image and pull
all the blogs. This will ensure that the syntax in the config file is


To build the site, run


This requires Python 2 and some libraries.


Build docker image

docker build -t username/planet-sympy:v1 .

Run docker image

docker run -d -e SSH_PRIVATE_KEY=XXX username/planet-sympy:v1

Where you change XXX for a base64 encoded private ssh key. This command will
update the planet and push the new files into the repository. If you add the -e TESTING=true option, it will push into the repository (this is
useful for testing, and that is what the Travis-CI does to ensure that things
work, without uploading possibly broken results into

The docker image from the latest master is automatically built at docker hub:, so to download it and run it,

docker run -e SSH_PRIVATE_KEY="$SSH_PRIVATE_KEY" certik/planet-sympy:latest

And set the SSH_PRIVATE_KEY environment variable (typically in the Travis-CI
or GitLab-CI web interface). Generate the private/publish ssh key using:

 ssh-keygen -f deploy_key -N ""

then set the SSH_PRIVATE_KEY environment variable in the CI (Travis-CI,
GitLab-CI, ...) to the base64 encoded private key:

 cat deploy_key | base64 -w0

and add the public key into the target git repository (either
planet-sympy/ or planet-sympy/, with
write permissions.

The docker image is periodically pulled and run by GitLab-CI at:, here is a direct link for the latest builds, so that you can check the status of the latest update of the webiste:

Docker Pull Command
Source Repository

Comments (0)