Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi again @darobin
Here’s the new Docker container for Publican.
Differences:
data/publish/
directlydata/
(what publican writes), andspecs-data/
(for Bikeshed) as a Docker volume so that the Docker container remains untouched and what it generates remains outside of it.Known issues
How to run
The WebPlatform specs.production.wpdn VM has everything needed to run. But if you want to run it locally, here are the steps. Also you might want to read the DOCKER.md file.
On a server that has Docker installed.
Pull the new image
Create a few directories
Make sure directory
data/
is owned byuid=999(app-user)
andgid=999(app-user)
. The group and user names doesn’t matter, its their ids that matter.Create config file in
data/config.json
/opt/bikeshed/bikeshed.py
/srv/webplatform/specs/
Run container
Run it on WebPlatform infrastructure!
The container is ready in a dedicated VM.
Run containers like this;
Run from within the container
Run an instance and send a hook call
from another terminal, issue a cURL command
you should see;
See also